GitXplorerGitXplorer
j

flutter_font_icons

public
14 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
bc349d3ce455eb6b847da198b28f12b0d753f0f4

upgrade Kotlin and Gradle

jjosephcrowell committed a year ago
Unverified
1ecbec700d12a60d113ebe332d78ae54e04b9f86

version bump

jjosephcrowell committed 3 years ago
Unverified
f181393da3fc5b8eeef2864e72b7142a8fa945ed

upgrade packages, repositories, kotlin and gradle

jjosephcrowell committed 3 years ago
Unverified
d7531bc480c2e6e08ab84fec38dbad873a7429f2

add now required android:exported="true"

jjosephcrowell committed 3 years ago
Unverified
75ec6853e3cc3b603bc0f9d8aac8f51471b74ab1

remove unnecessary brackets

jjosephcrowell committed 3 years ago
Unverified
ab4601c2949bd063a05ddea718dda7f394e09d49

fix typo in readme

jjosephcrowell committed 3 years ago

README

The README file for this repository.

flutter_font_icons

English | 简体中文

pub package

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

Notice

  1. v2.0.0 has major Api changes, please be careful when upgrading
  2. icon names that begin with a number are preceded by a $prefix
  3. 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),