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.