FLUTTER ECOSYSTEM

josephcrowell/flutter_font_icons

Flutter 向けのカスタマイズ可能なフォントアイコン :boom:

flutter_font_icons のプロジェクト画像
Stars
14
Forks
3
最終プッシュ(UTC)
2026/05/19
プロジェクト状態
公開中
Joseph Crowell GitHub avatar
GITHUB User

Joseph Crowell ↗

ComputerlinkBrisbane, Australia公式サイト ↗
言語DartC++CMakeHTMLCSwiftKotlinObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件
  • flutter{"sdk":"flutter"}
  • flutter_lints開発用^3.0.1
  • flutter_test開発用{"sdk":"flutter"}

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

flutter_font_icons

English | 简体中文

pub package

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

Notice

  1. v3.0.0 has major underlying changes to maintain compatibility with Flutter's IconData and will not work on versions of Futter before 3.22.0.
  2. v2.0.0 has major Api changes, please be careful when upgrading
  3. icon names that begin with a number are preceded by a $prefix
  4. icons named with a dart language keyword have the _ suffix added

Bundled Icon Sets

Browse all.

Usage

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

Widget

IconToggle
Prop Description
selectedIcon This icon is displayed when IconToggle is selected
unselectedIcon This icon is displayed when IconToggle is not selected
selectedColor When IconToggle is selected, this icon color is displayed
unselectedColor When IconToggle is not selected, this icon color is displayed
selected Whether this IconToggle is selected.
size The size of the icon.
onChanged Called when the value of the IconToggle should change.
duration The duration of the transition from selected Icon to unselected Icon
reverseDuration The duration of the transition from unselected Icon to selected Icon
transitionBuilder Transition animation function between the selected Icon and the unselected Icon

Example

// Import package
import 'package:flutter/material.dart';
import 'package:flutter_font_icons/flutter_font_icons.dart';

// Include icons with
Icon(AntDesign.stepforward),
Icon(Ionicons.ios_search),
Icon(FontAwesome.glass),
Icon(MaterialIcons.ac_unit),
Icon(FontAwesome5.address_book),
Icon(FontAwesome5Solid.address_book),
Icon(FontAwesome5Brands.$500px),