icon_plugin 0.0.2
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');