version: 0.545.0
Lucide Icons (lucide.dev) for Flutter. Visit the website for the full list of icons.
Use regular version
import 'package:lucide_icons_flutter/lucide_icons.dart';
Icon(LucideIcons.activity);
If you need to change the thickness of each icon stroke, use the way under the wire
import 'package:lucide_icons_flutter/lucide_icons.dart';
Icon(LucideIcons.activity100);
Icon(LucideIcons.activity200);
Icon(LucideIcons.activity300);
Icon(LucideIcons.activity400);
Icon(LucideIcons.activity500);
Icon(LucideIcons.activity600);
For RTL (right-to-left) support, use the dir()
extension to make icons automatically flip in RTL layouts:
import 'package:lucide_icons_flutter/lucide_icons.dart';
// Icon will automatically flip in RTL layouts
Icon(LucideIcons.arrowLeft.dir());
// You can also disable the RTL behavior if needed
Icon(LucideIcons.arrowLeft.dir(matchTextDirection: false));