flutter_mdi 0.1.3938 flutter_mdi: ^0.1.3938 copied to clipboard
The Material Design Icons Icon pack available as Flutter Icons.
Material Design Icons for Flutter #
Based on latest commit at Material Design Icons.
Installation #
- In the
dependencies:
section of yourpubspec.yaml
, add the following line:
flutter_mdi: 0.1.3938
Usage #
import 'package:flutter_mdi/flutter_mdi.dart';
class MyWidget extends StatelessWidget {
@override
Widget build(BuildContext) {
return IconButton(
icon: Icon(Mdi.volume_plus),
tooltip: 'Increase volume by 10%',
onPressed: () { print('Volume increased by 10%'); }
);
}
}