flutter_tabler_icons
Paweł Kuna @codecalm による https://github.com/tabler/tabler-icons のアイコンを使用した Flutter 向け Tabler イコン
104いいね 820030日間ダウンロード150Pub ポイント
AndroidiOSWebmacOSWindowsLinux
Tabler Icons(https://github.com/tabler/tabler-icons)パックは、Flutterアイコンのセットとして利用可能です。
{"sdk":"flutter"}以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
The Tabler Icon Pack in Flutter
Tabler icons version: v3.31.0
dependencies:
flutter:
sdk: flutter
flutter_tabler_icons: [latest]
import 'package:flutter_tabler_icons/flutter_tabler_icons.dart';
class MyWidget extends StatelessWidget {
Widget build(BuildContext context) {
return new IconButton(
icon: new Icon(TablerIcons.alarm_smoke),
onPressed: () { print('Alarm Smoke'); }
);
}
}
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.
Example:
> python .\util\tabler_gen.py -i .\assets\webfont\ -o .\lib\flutter_tabler_icons.dart -to .\assets\fonts\
Screenshot of example app Screenshot of example app