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