The Akar Icons Icon pack available as set of Flutter Icons.
Based on Akar Icons Fonts 1.1.21. See fonts.
👍 Like us on pub.dev!
In the dependencies:
section of your pubspec.yaml
, add the following line:
akar_icons_flutter: 1.1.21
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'); }
);
}
}
Arturo Wibawa (@agwibawa)
MIT License, Copyright © 2020-present Arturo Wibawa.
Flutter Support by Alann Maulana