Flutter

Use fmicon in Flutter through flutter_svg. Every icon page gives you a ready SvgPicture snippet with your size and colour applied.

Installation

Add flutter_svg to your app.

Basic Usage

Copy the Flutter snippet from any icon page, or load the SVG from the CDN.

lib/icons.dart
import 'package:flutter_svg/flutter_svg.dart';

final homeIcon = SvgPicture.network(
  'https://cdn.fmicon.dev/svg/linear/home.svg',
  width: 24,
  height: 24,
  colorFilter: const ColorFilter.mode(Color(0xFF1265EC), BlendMode.srcIn),
);

Bundling the Files

For offline apps, download the SVGs you need into assets/icons/ and load them with SvgPicture.asset.

pubspec.yaml
flutter:
  assets:
    - assets/icons/
Widget
SvgPicture.asset('assets/icons/home.svg', width: 24, height: 24)

Styles

Every icon comes in 8 styles; change the folder in the URL to switch.

Linear"linear"
Outline"outline"
Bold"bold"
Bulk"bulk"
Twotone"twotone"
Broken"broken"
Glass"glass"
Duotone"duotone"