Jak używać flatyonu jako ikony w trzepot
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"); }
);
}
}
Thankful Tapir