FLUTTER ECOSYSTEM

brianegan/open_iconic_flutter

作為一組 Flutter 圖標提供的 Open Iconic 圖標套件

open_iconic_flutter 專案封面
Stars
14
Forks
11
最近推送(UTC)
2020年12月31日
專案狀態
未封存
Brian Egan GitHub avatar
GITHUB User

Brian Egan ↗

Montana boy living in the UK.

Lake District, UK官方網站 ↗
語言DartRubyObjective-CJava

技術主題

此儲存庫發佈的套件

使用的依賴

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

原始 README

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

展開 / 收合專案 README

open_iconic_flutter

The Open Iconic icon pack available as set of Flutter Icons.

Installation

In the dependencies: section of your pubspec.yaml, add the following line:

  open_iconic_flutter: 0.1.0    

Usage

import 'package:open_iconic_flutter/open_iconic_flutter.dart';

class MyWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return new IconButton(
      // Use the FontAwesomeIcons class for the IconData
      icon: new Icon(OpenIconicIcons.fork), 
      onPressed: () { print("Pressed"); }
     );
  }
}

Example

View the Flutter app in the example directory to see all the available OpenIconicIcons.