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"); }
     );
  }
}

Libraries

boxicons_flutter
boxicons_flutter