Easy to use 1500+ Icon from Boxicons.
In the dependencies:
section of your pubspec.yaml
, add the following line:
boxicons: <latest_version>
You can use it very easily. For example:
Icon(Boxicons.bx_home_smile)
import 'package:flutter/material.dart';
import 'package:boxicons/boxicons.dart';
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return IconButton(
// Use Boxicons
icon: Icon(Boxicons.bx_home_smile),
onPressed: () {
print('its done');
}
);
}
}
Announcing Boxicons v2.0.9!
- Fixed the errors with a few svgs, added viewbox
MIT