Skip to content

The SWM Icon pack for Flutter. Provides 200+ additional icons to use in your apps.

License

Notifications You must be signed in to change notification settings

geekswamp/swm_icons

Repository files navigation

swm_icons

The SWM Icon pack for Flutter. Provides 200+ additional icons to use in your apps.

Instalation

In the dependencies: section of your pubspec.yaml, add the following line:

swm_icons: <latest_version>

Usage

You can use it very easily. For example:

import 'package:flutter/material.dart';
import 'package:swm_icons/swm_icons.dart';

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return SWMIcon(SWMIcons.alarm);
  }
}

Icon Styles

You can use SWMIconStyles to change the style, (default: SWMIconStyles.outline).

import 'package:flutter/material.dart';
import 'package:swm_icons/swm_icons.dart';

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return SWMIcon(
      SWMIcons.alarm,
      style: SWMIconStyles.broken, // Broken icon style.
      color: Colors.blue,
      size: 40,
    );
  }
}

Icons

icon gallery preview

About

The SWM Icon pack for Flutter. Provides 200+ additional icons to use in your apps.

Topics

Resources

License

Stars

Watchers

Forks