You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.0 KiB

English | 简体中文

flutter_icons

pub package

在Flutter中使用可定制的图标,该插件包时受到 react-native-vector-icons启发的

可用的图标

浏览所有.

使用

要使用此插件包,请将flutter_icons作为依赖项添加到您的pubspec.yaml文件中,详见dependency in your pubspec.yaml file.

示例

// 引入包
import 'package:flutter_icons/flutter_icons.dart';
import 'package:flutter/material.dart';

Icon(Ionicons.getIconData("ios-search"));
Icon(AntDesign.getIconData("stepforward"));
Icon(FontAwesome.getIconData("glass"));
Icon(MaterialIcons.getIconData("ac-unit"));

特别感谢react-native-vector-icons插件包及其开发者们