https://github.com/duncwillz/flat_icons_flutter
Library for flat icon packages in Flutter
https://github.com/duncwillz/flat_icons_flutter
flat flutter for icons in library
Last synced: 2 months ago
JSON representation
Library for flat icon packages in Flutter
- Host: GitHub
- URL: https://github.com/duncwillz/flat_icons_flutter
- Owner: duncwillz
- License: mit
- Created: 2019-03-20T17:08:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-06T21:41:16.000Z (over 1 year ago)
- Last Synced: 2026-01-11T10:37:51.010Z (4 months ago)
- Topics: flat, flutter, for, icons, in, library
- Language: Dart
- Homepage:
- Size: 2.72 MB
- Stars: 9
- Watchers: 2
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# flat_icons_flutter
The [Flat Icons](http://flaticons.com/) Icon pack available as set of Flutter Icons.
Based on Flat Icons Includes all free icons:
* Essentials
* Social
* Arrows set
* Many and more, get some coffee and explore the beauty of the categories
## Installation
In the `dependencies:` section of your `pubspec.yaml`, add the following line:
```yaml
flat_icons_flutter:
```
## Usage
```dart
import 'package:flat_icons_flutter/flat_icons_flutter.dart';
class MyWidget extends StatelessWidget {
Widget build(BuildContext context) {
return new IconButton(
// Use the FlatIcons class for the IconData
icon: new Icon(FlatIcons.home),
onPressed: () { print("Pressed"); }
);
}
}
```
## Example
View the Flutter app in the `example` directory to see all the available `FlatIcons`.
## Contributor
- Duncan Adjei