flutter_tabler_icons 1.41.0 flutter_tabler_icons: ^1.41.0 copied to clipboard
Tabler Icons for flutter using icons from https://github.com/tabler/tabler-icons by Paweł Kuna @codecalm
flutter_tabler_icons #
The Tabler Icon Pack in Flutter
Tabler icons version: v3.17.0
pubspec.yaml #
dependencies:
flutter:
sdk: flutter
flutter_tabler_icons: ^1.41.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.