Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 884 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 884 Bytes

flutter_tabler_icons

The Tabler Icon Pack in Flutter

Tabler icons version: v2.43.0

pubspec.yaml

dependencies:
  flutter:
    sdk: flutter
  flutter_tabler_icons: ^1.10.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.

Screenshot of example app