how to use flaticon as icon in flutter code example
Example: how to use flaticon as icon in flutter
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"); }
);
}
}