flutter_vector_icons 0.2.1

Flutter Android iOS web

Customizable icons including AntDesign, Entypo, EvilIcons, Feather, FontAwesome, Foundation, Ionicons, MaterialCommunityIcons, MaterialIcons, Octicons, SimpleLineIcons and Zocial

flutter_vector_icons #

pub

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

View gallery built with Flutter Web: 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');
      },
    );
  }
}

Development #

dart tool/generate.dart

Credits #

License #

MIT

42
likes
100
pub points
94%
popularity

Customizable icons including AntDesign, Entypo, EvilIcons, Feather, FontAwesome, Foundation, Ionicons, MaterialCommunityIcons, MaterialIcons, Octicons, SimpleLineIcons and Zocial

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

pd4d10@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_vector_icons