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

Customizable Icons for Flutter. Port of react-native-vector-icons

flutter_vector_icons #

pub gallery

Customizable Icons for Flutter. Port of react-native-vector-icons.

Preview icons with the gallery: https://pd4d10.github.io/flutter-vector-icons/

Installation #

Add flutter_vector_icons as a dependency in your pubspec.yaml file

Usage #

import 'package:flutter/material.dart';
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:
      //
      // AntDesign
      // Entypo
      // EvilIcons
      // Feather
      // FontAwesome
      // Foundation
      // Ionicons
      // MaterialCommunityIcons
      // MaterialIcons
      // Octicons
      // SimpleLineIcons
      // Zocial
      // FontAwesome5Brands
      // FontAwesome5Regular
      // FontAwesome5Solid

      icon: Icon(MaterialCommunityIcons.star),
      onPressed: () {
        print('Star it');
      },
    );
  }
}

Version Correspondence #

flutter-vector-icons react-native-vector-icons
2.x 9.x
1.x 8.x

8.x

Development #

cd tool
npm install
node index.js

Credits #

License #

MIT

226
likes
120
pub points
98%
popularity

Publisher

unverified uploader

Customizable Icons for Flutter. Port of react-native-vector-icons

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_vector_icons