dynamic_app_icon 0.0.1+1 copy "dynamic_app_icon: ^0.0.1+1" to clipboard
dynamic_app_icon: ^0.0.1+1 copied to clipboard

PlatformmacOS

Set any widget as an app icon! (macOS only)

Dynamic App Icon #

GitHub stars Twitter Follow

Set any widget as an app icon! (macOS only)

Example #

class Example extends StatelessWidget {
  const Example({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: AppIcon(
        icon: FlutterLogo(),
        child: Scaffold(
          body: Center(
            child: Text('Flutter logo is now your app icon!'),
          ),
        ),
      )
    );
  }
}

License #

MIT

GitHub stars Twitter Follow