lucide_icons_svg 0.0.4 copy "lucide_icons_svg: ^0.0.4" to clipboard
lucide_icons_svg: ^0.0.4 copied to clipboard

Lucide icons for Flutter.

Features #

This packages is a port of feather_icons_svg, but with the icons provided by lucide instead of feather. Different from the official lucide icons this package allows the customization of icon properties in runtime (stroke width etc.).

Usage #

class MyExampleWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return LucideIcon(
      LucideIcons.calendar,
      color: Colors.red,
      size: 30,
      strokeWidth: 1.6,
    );
  }
}

Install #

Add lucide_icons_svg package into your pubspec.yaml.

flutter pub add lucide_icons_svg

Development #

To fetch SVG icons from original Lucide Icons repository, run tool/fetch-icons.sh.

Finally, to run source code generation to create lucide_icons_svg.dart file with named constructor for every icon, run tool/generator.dart.

2
likes
140
points
50
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Lucide icons for Flutter.

License

MIT (license)

Dependencies

flutter, flutter_svg, path

More

Packages that depend on lucide_icons_svg