Skip to content
pubscout

icofont_flutter

1.5.0, released 2 months ago by mukul.me

Flutter icon pack with 2,105 IcoFont icons as IconData constants

WASM-ready
$ flutter pub add icofont_flutter
Source repository

What it does

Provides a large set of icons as IconData for use in Flutter widgets. The icons are generated from the IcoFont font and exposed as static constants.

AI-written summary of version 1.5.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • need a wide variety of free icons
  • want to avoid external dependencies
  • need icons that work on all platforms

Skip it when

  • already using another icon pack that covers your needs
  • need duotone or layered icons

Strengths

  • large icon set (2,105 icons)
  • no runtime dependencies beyond Flutter
  • icons are generated and documented
  • works on all Flutter platforms

Weaknesses

  • duotone icons not available
  • no support for layered icons

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:flutter/material.dart';
import 'package:icofont_flutter/icofont_flutter.dart';

class MyWidget extends StatelessWidget {
  const MyWidget({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return IconButton(
      icon: const Icon(IcoFontIcons.brandIcofont),
      onPressed: () => debugPrint('Pressed'),
    );
  }
}

Alternatives

Packages that do the same job and could replace icofont_flutter.