line_icons
2.0.3, released 3 years ago by an unverified publisher
An icon library for Flutter based on Awesome Line Icons by Icons8.
WASM-readyCopyleft license
What it does
Provides a large collection of line icons as an alternative to Material icons. Includes a `LineIcon` widget with const constructors that matches `Icon` parameters, plus map and name-based lookup helpers.
AI-written summary of version 2.0.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a clean line icon style alternative to standard Material icons
- You prefer camelCase icon naming conventions matching Icons8
Skip it when
- You require Material Design icons exclusively
- You are using icon sets provided by other packages like font_awesome_flutter
Strengths
- Large collection of free line-style icons based on Icons8
- Convenient `LineIcon` class with const constructors for concise code
- Provides `values` map and `byName` getter for dynamic icon lookup
Weaknesses
- Limited platform testing notes mentioned (specifically tested on Android)
- Not tested on iOS explicitly in documentation
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:flutter/material.dart';
import 'package:line_icons/line_icon.dart';
import 'package:line_icons/line_icons.dart';
void main() => runApp(MaterialApp(
home: Scaffold(
body: Center(
child: const LineIcon.tablet(
size: 48.0,
color: Colors.red,
),
),
),
));Alternatives
Packages that do the same job and could replace line_icons.
- font_awesome_flutter
Provides the massive FontAwesome icon library instead of Icons8 line icons.
77Compare - lucide_icons_flutter
Provides Lucide icons as another clean line-style icon alternative.
91Compare - material_symbols_icons
Provides Google's Material Symbols for alternative styling.
79Compare