Skip to content
pubscout

flutter_vector_icons

2.0.0, released 4 years ago by an unverified publisher

Provides a collection of customizable icon fonts for Flutter.

WASM-ready
$ flutter pub add flutter_vector_icons
Source repository

What it does

The package bundles many popular icon fonts (e.g., MaterialCommunityIcons, FontAwesome, Ionicons) and exposes them as Flutter IconData constants. You can use them directly in Icon widgets without additional setup.

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

Use it when

  • You need a large set of ready‑made icons from multiple families
  • You want a simple, code‑only way to include icons without native assets
  • You prefer null‑safe, declarative usage in Flutter

Skip it when

  • App size is a critical concern and you only need a few icons
  • You require SVG or animated icons not covered by the bundled fonts
  • You need runtime loading of custom icon fonts

Strengths

  • Covers many popular icon families in one package
  • Null‑safe and works on all Flutter platforms
  • Zero native configuration – just add the dependency

Weaknesses

  • Increases app bundle size due to many fonts
  • Limited to the provided icon sets; no SVG support
  • Package updates are infrequent

Setup

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

class MyWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return IconButton(
      icon: Icon(MaterialCommunityIcons.star),
      onPressed: () => print('Star it'),
    );
  }
}

Alternatives

Packages that do the same job and could replace flutter_vector_icons.