Search packages, repositories and app categories

Package detailsv3.0.0

flutter_font_icons

Vector Font Icons for Flutter, including all fonts from react-native-vector-icons and WeatherIcons.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
4.5K
Likes
78
Pub points
150

Install package

flutter pub add flutter_font_icons

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package providing vector font icons, including all fonts from react-native-vector-icons and WeatherIcons. It enables developers to easily integrate a wide range of scalable, high-quality icons into their apps across multiple platforms. The package supports Android, iOS, Web, macOS, Windows, and Linux, ensuring consistent icon rendering regardless of device or operating system. With minimal setup via the pub add command, it simplifies icon management in Flutter projects.

Use cases

  • Integrating scalable icons in mobile and web apps
  • Adding weather-related icons using WeatherIcons
  • Enhancing UI with consistent iconography across platforms
  • Replacing image-based icons with lightweight vector alternatives
  • Using familiar icon sets from react-native-vector-icons in Flutter

Key features

  • Supports all react-native-vector-icons fonts
  • Includes WeatherIcons set
  • Cross-platform compatibility
  • Lightweight vector-based icons
  • Easy integration via pub add command

Suitable for

  • Flutter developers needing diverse icon sets
  • Projects requiring platform-agnostic icons
  • Apps with frequent UI icon usage
  • Developers migrating from React Native
  • Teams prioritizing performance and scalability

Considerations

  • Requires manual font asset configuration for some use cases
  • Limited to predefined icon sets
  • No dynamic icon generation
  • Best suited for static icon needs
  • May increase app bundle size slightly with large icon sets

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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),

Categories

Source repository

Projects using this package