marianoarga / open_iconic_flutter

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:Dart 93.9%Language:Ruby 2.9%Language:Objective-C 2.2%Language:Java 1.1%