flutter_vector_icons 0.0.2 copy "flutter_vector_icons: ^0.0.2" to clipboard
flutter_vector_icons: ^0.0.2 copied to clipboard

outdated

Flutter vector icons

flutter_vector_icons #

pub

Flutter version of react-native-vector-icons

Browse all bundled icon sets

Installation #

Add flutter_vector_icons as a dependency in your pubspec.yaml file.

Usage #

import 'package:flutter_vector_icons/flutter_vector_icons.dart';

class MyWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return IconButton(
      // Variable name is the same as font name
      icon: Icon(MaterialCommunityIcons.star),
      onPressed: () {
        print('Star it');
      }
     );
  }
}

Development #

  1. Copy glyphmaps json files to glyphmaps dir
  2. run dart tool/generate.dart

License #

MIT

239
likes
0
pub points
98%
popularity

Publisher

unverified uploader

Flutter vector icons

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_vector_icons