flutter_tabler_icons
The Tabler Icon Pack in Flutter
Tabler icons version: v3.18.0
pubspec.yaml
dependencies:
flutter:
sdk: flutter
flutter_tabler_icons: ^1.42.0
Usage
import 'package:flutter_tabler_icons/flutter_tabler_icons.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
in /util
. It takes the codepoints from the CSS file of the release and generates a Flutter class of all of the icons.