tabler_icons_flutter 2.11.0 tabler_icons_flutter: ^2.11.0 copied to clipboard
Tabler Icons for flutter using icons from https://github.com/tabler/tabler-icons by DashBrains. Original work by Csaba Kissi @csaba_kissi
tabler_icons_flutter #
The Tabler Icon Pack in Flutter
Tabler icons version: 2.11.0
pubspec.yaml #
dependencies:
flutter:
sdk: flutter
tabler_icons_flutter: ^2.11.0
Usage #
import 'package:tabler_icons_flutter/tabler_icons_flutter.dart';
class MyWidget extends StatelessWidget {
Widget build(BuildContext context) {
return new IconButton(
icon: new Icon(TablerIcons.ambulance),
onPressed: () { print('Ambulance pressed'); }
);
}
}
Updating Icons #
This package can be updated to use a newer release of Tabler Icons with tabler_gen.py
. It takes the codepoints from the CSS file of the release and generates a Flutter class of all of the icons.