icon_plugin 0.0.2 copy "icon_plugin: ^0.0.2" to clipboard
icon_plugin: ^0.0.2 copied to clipboard

Dynamic App Icon, for a beginning this will only be for web favicon, because there is no way to change that with flutter, for later it is intended that we support app icons on Android and iOS.

icon_plugin #

Dynamic App Icon, currently only favicon for web.

Getting Started #

For the time being this only works to update website favicon from inside flutter.

  • Place your favicon(s) inside the web directory of your app.
  • From anywhere inside your flutter project, initialize iconPlugin
final _iconPlugin = IconPlugin();
  • Call setIcon with the name of the icon you want to use
_iconPlugin.setIcon('favicon-failure.png');
0
likes
130
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

Dynamic App Icon, for a beginning this will only be for web favicon, because there is no way to change that with flutter, for later it is intended that we support app icons on Android and iOS.

Homepage

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on icon_plugin