string_to_icon 1.0.0 copy "string_to_icon: ^1.0.0" to clipboard
string_to_icon: ^1.0.0 copied to clipboard

A simple, lightweight Flutter package to map string names to Material Design Icons, with fallback support for unknown icons.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add string_to_icon

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  string_to_icon: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:string_to_icon/string_to_icon.dart';
0
likes
150
points
114
downloads

Publisher

unverified uploader

Weekly Downloads

A simple, lightweight Flutter package to map string names to Material Design Icons, with fallback support for unknown icons.

Repository

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on string_to_icon