akar_icons_flutter
The Akar Icons Icon pack available as set of Flutter Icons.
Based on Akar Icons Fonts 1.1.9. See fonts.
? Like us on pub.dev!
Installation
In the dependencies:
section of your pubspec.yaml
, add the following line:
akar_icons_flutter: 1.1.9
Usage
import 'package:akar_icons_flutter/akar_icons_flutter.dart';
class MyWidget extends StatelessWidget {
Widget build(BuildContext context) {
return new IconButton(
// Use the AkarIcons class for the IconData
icon: new Icon(AkarIcons.sword),
onPressed: () { print('Using the sword'); }
);
}
}
Author
Arturo Wibawa (@agwibawa)
License
MIT License, Copyright © 2020-present Arturo Wibawa.
Credits
Flutter Support by Alann Maulana
Comments are closed.