The Flat Icons Icon pack available as set of Flutter Icons.
Based on Flat Icons Includes all free icons:
- Essentials
- Social
- Arrows set
- Many and more, get some coffee and explore the beauty of the categories
In the dependencies:
section of your pubspec.yaml
, add the following line:
flat_icons_flutter: <latest_version>
import 'package:flat_icons_flutter/flat_icons_flutter.dart';
class MyWidget extends StatelessWidget {
Widget build(BuildContext context) {
return new IconButton(
// Use the FlatIcons class for the IconData
icon: new Icon(FlatIcons.home),
onPressed: () { print("Pressed"); }
);
}
}
View the Flutter app in the example
directory to see all the available FlatIcons
.
- Duncan Adjei