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

outdated

Customizable icons for Flutter. This is a port of react-native-vector-icons.

flutter_vector_icons #

pub

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

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 tools/lib/tools.dart

Credits #

License #

MIT

226
likes
0
pub points
98%
popularity

Publisher

unverified uploader

Customizable icons for Flutter. This is a port of react-native-vector-icons.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_vector_icons