0 purchases
swm icons
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>
copied to clipboard
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);
}
}
copied to clipboard
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,
);
}
}
copied to clipboard
Icons #
[]
License #
MIT
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.