FLUTTER ECOSYSTEM

bigbadbob2003/flutter_tabler_icons

Tabler Icons(https://github.com/tabler/tabler-icons)套件已作為一組 Flutter 圖標提供。

flutter_tabler_icons 專案封面
Stars
22
Forks
14
最近推送(UTC)
2025年10月28日
專案狀態
未封存
bigbadbob2003 GitHub avatar
語言DartC++CMakePythonHTMLCSwiftKotlinObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 1 項
  • flutter{"sdk":"flutter"}

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

flutter_tabler_icons

The Tabler Icon Pack in Flutter

Tabler icons version: v3.31.0

pubspec.yaml

dependencies:
  flutter:
    sdk: flutter
  flutter_tabler_icons: [latest]

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.alarm_smoke),
      onPressed: () { print('Alarm Smoke'); }
     );
  }
}

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.

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