The Feather Icon pack created by Cole Bemis available as set of Flutter Icons.
Based on Feather v4.7.3
In the dependencies:
section of your pubspec.yaml
, add the following line:
feather_icons_flutter: >=4.7.4
import 'package:feather_icons_flutter/feather_icons_flutter.dart';
class MyWidget extends StatelessWidget {
Widget build(BuildContext context) {
return new IconButton(
// Use the FeatherIcons class for the IconData
icon: new Icon(FeatherIcons.activity),
onPressed: () { print("Pressed"); }
);
}
}
View the Flutter app in the example
directory to see all the available FeatherIcons
.
This library is largely based on the font_awesome_flutter library and is copyrighted by Brian Egan under the terms of the MIT license.
- Hannes Küttner