swm_icons 0.2.1 copy "swm_icons: ^0.2.1" to clipboard
swm_icons: ^0.2.1 copied to clipboard

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

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]

License #

MIT

2
likes
160
pub points
54%
popularity

Publisher

verified publishershasmatic.site

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

Repository (GitHub)
View/report issues

Topics

#assets #icons #swm #swm-icons

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on swm_icons