remix_icons_flutter 4.8.0
remix_icons_flutter: ^4.8.0 copied to clipboard
A Remix Icon library package for Flutter applications.
Remix Icons Flutter #
Remix Icon (remixicon.com) for Flutter. Map to Remix Icon v4.7.0.
Looking for Lucide Icons? #
Check out lucide_icons_flutter.
Example #
import 'package:remix_icons_flutter/remixicon_ids.dart';
// Use underscore for hyphenated names (e.g. 24-hours-fill -> i24HoursFill)
// Hover over the icon name in IDE to see the preview
Icon(RemixIcon.heartFill);
Icon(RemixIcon.searchLine);
For RTL (right-to-left) support, use the dir() extension to make icons automatically flip in RTL layouts:
extension IconDataX on IconData {
/// Create Icon with matchTextDirection = true (automatically flip in RTL)
IconData dir({
bool matchTextDirection = true,
}) {
return IconData(
codePoint,
fontFamily: fontFamily,
fontPackage: fontPackage,
matchTextDirection: matchTextDirection,
);
}
}
import 'package:remix_icons_flutter/remixicon_ids.dart';
// Icon will automatically flip in RTL layouts
Icon(RemixIcon.arrowLeftLine.dir());
// You can also disable the RTL behavior if needed
Icon(RemixIcon.arrowLeftLine.dir(matchTextDirection: false));