boxicons_flutter 1.1.0 boxicons_flutter: ^1.1.0 copied to clipboard
Boxicons (https://boxicons.com/) icons pack available in Flutter.
boxicons_flutter #
Use Boxicons in Flutter.
Installation #
In the dependencies:
section of your pubspec.yaml
, add the following line:
boxicons_flutter: <latest_version>
Usage #
import 'package:boxicons_flutter/boxicons_flutter.dart';
class MyWidget extends StatelessWidget {
Widget build(BuildContext context) {
return new IconButton(
// Use the Boxicons class for the IconData
icon: new Icon(Boxicons.bxBolt),
onPressed: () { print("Pressed"); }
);
}
}