simple_icons 5.19.0 simple_icons: ^5.19.0 copied to clipboard
The Simple Icon pack available as Flutter Icons. Provides over 1500 Free SVG icons for popular brands.
Simple Icons: Flutter
A Flutter package for Simple Icons, which provides over 1500 Free SVG icons for popular brands.
See them all on one page at SimpleIcons.org.
Contributions, corrections & requests can be made on GitHub.
Naming #
Naming conventions have been changed for better readability and consistancy with all other flutter icon packs.
Additionally:
- special characters ➔ written in words
- names starting with a number ➔ the letter 'n' placed in front
- dart reserved words ➔ 'icon' placed in the back
To convert from the catalog simply follow this method
.NET ➔ dotNet
Apple Pay ➔ applepay
1Password ➔ n1password
abstract ➔ abstracticon
#
Installation #
In the dependencies:
section of your pubspec.yaml
add the following line:
dependencies:
simple_icons: <latest_version>
Usage #
import "package:simple_icons/simple_icons.dart";
class MyAwesomeWidget extends StatelessWidget {
Widget build(BuildContext context) {
return IconButton(
icon: Icon(SimpleIcons.github),
onPressed: () {
print("awesome platform to share code and ideas");
}
);
}
}
Example #
View the flutter app in the example
directory