dynamic_icons_matte 0.0.5 copy "dynamic_icons_matte: ^0.0.5" to clipboard
dynamic_icons_matte: ^0.0.5 copied to clipboard

A package for ios and android to create dynamic icons just using a icon name.

You can use materials icons at run time or you can define a material icon name and use icon.

Features #

Dynamic Icons, Use icons with a dynamic string name.

  • Use material Icons with icon name only
  • Define String from remote and use

Getting started #

For example, say you want to use the icons which you are changing at run time.

In normal way we use icons as

Icon(Icons.add);

which show '+' icon.

Now if you want to define from BE or from APIs then you have to provide a string name like 'add'. But you can not use String 'add' directly and the reason is Icons are 'DataIcons'.

So for this problem we have introduce a new package as 'dynamic_icons_matte'

To use dynamic_icons_matte:

dependencies:
flutter:
sdk: flutter
dynamic_icons_matte: ^0.0.5

To import dynamic_icons_matte:

import 'package:dynamic_icons/dynamic_icons_matte.dart';

Usage #

DynamicIconsMatte(name: 'add',color: Colors.black,sizes: 100,);

Additional information #

You can define any material name here, if icons will not exists then this will show 'launch ' icon as default.

Full list of supported icon names: See icons_list.md

1
likes
160
points
178
downloads

Publisher

unverified uploader

Weekly Downloads

A package for ios and android to create dynamic icons just using a icon name.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, font_awesome_flutter

More

Packages that depend on dynamic_icons_matte