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

A Flutter package that converts string icon names to IconData objects from the Material Icons set.

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: ^0.0.1

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
140
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that converts string icon names to IconData objects from the Material Icons set.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on string_to_icon