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