@ -1,6 +1,9 @@
import 'package:flutter/material.dart';
import 'flutter_icon_data.dart';
/// all Icons under Ant Design
///
/// https://ant.design/
class AntDesign {
static const IconData stepforward = const FlutterIconData.antDesign(58880);
static const IconData stepbackward = const FlutterIconData.antDesign(58881);
/// all icons under Entypo
/// http://entypo.com
class Entypo {
static const IconData $500px = const FlutterIconData.entypo(61696);
static const IconData $500px_with_circle =
/// all Icons under EvilIcons
/// http://evil-icons.io
class EvilIcons {
static const IconData archive = const FlutterIconData.evilIcons(61696);
static const IconData arrow_down = const FlutterIconData.evilIcons(61697);
/// all Icons under Feather
/// http://feathericons.com
class Feather {
static const IconData activity = const FlutterIconData.feather(59648);
static const IconData airplay = const FlutterIconData.feather(59649);
@ -1,5 +1,6 @@
/// It is used to generate IconData under different icon sets
class FlutterIconData extends IconData {
const FlutterIconData(int codePoint, String fontFamily)
: super(codePoint, fontFamily: fontFamily, fontPackage: "flutter_icons");
/// all Icons under FontAwesome
/// http://fortawesome.github.io/Font-Awesome/icons/
class FontAwesome {
static const IconData glass = const FlutterIconData.fontAwesome(61440);
static const IconData music = const FlutterIconData.fontAwesome(61441);
/// all Icons under FontAwesome5(Regular)
/// https://fontawesome.com
class FontAwesome5 {
static const IconData address_book =
const FlutterIconData.fontAwesome5(62137);
/// all Icons under FontAwesome5(Brand)
class FontAwesome5Brands {
static const IconData $500px =
const FlutterIconData.fontAwesome5Brands(62062);
/// all Icons under FontAwesome5(Solid)
class FontAwesome5Solid {
static const IconData ad = const FlutterIconData.fontAwesome5Solid(63041);
/// all Icons under Foundation
/// http://zurb.com/playground/foundation-icon-fonts-3
class Foundation {
static const IconData address_book = const FlutterIconData.foundation(61696);
static const IconData alert = const FlutterIconData.foundation(61697);
@ -1,8 +1,4 @@
/// 自定义的bool选择组件
import 'dart:math' as math;
/// all Icons under Ionicons
/// https://ionicons.com/
class Ionicons {
static const IconData ios_add = const FlutterIconData.ionicons(61698);
static const IconData ios_add_circle = const FlutterIconData.ionicons(61697);
/// all Icons under MaterialCommunityIcons
class MaterialCommunityIcons {
static const IconData ab_testing =
const FlutterIconData.materialCommunityIcons(983068);
/// all Icons under MaterialIcons
/// https://www.google.com/design/icons/
class MaterialIcons {
static const IconData $3d_rotation =
const FlutterIconData.materialIcons(59469);
/// all Icons under Octicons
/// http://octicons.github.com
class Octicons {
static const IconData alert = const FlutterIconData.octicons(61696);
static const IconData archive = const FlutterIconData.octicons(61697);
/// all Icons under SimpleLineIcons
/// https://simplelineicons.github.io/
class SimpleLineIcons {
static const IconData user = const FlutterIconData.simpleLineIcons(57349);
static const IconData people = const FlutterIconData.simpleLineIcons(57345);
/// all Icons under WeatherIcons
/// https://erikflowers.github.io/weather-icons/
class WeatherIcons {
static const IconData wi_day_sunny =
const FlutterIconData.weatherIcons(61453);
/// all Icons under Zocial
/// http://zocial.smcllns.com/
class Zocial {
static const IconData acrobat = const FlutterIconData.zocial(61696);
static const IconData amazon = const FlutterIconData.zocial(61697);