当前位置: 首页 > 工具软件 > Feather icons > 使用案例 >

开源的丰富的flutter Icons库

向和歌
2023-12-01

flutter_icons

Customizable Icons for Flutter,Inspired by react-native-vector-icons

Bundled Icon Sets

Browse all.

Usage

To use this plugin, add flutter_icons as a dependency in your pubspec.yaml file.

Example

// Import package
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"));
复制代码

Special thanks to react native vector ICONS library and its authors

转载于:https://juejin.im/post/5c38244c6fb9a049ae081be9

 类似资料: