A Flutter plugin to get the platform's app launcher icon's shape.

Platform Support

Android iOS MacOS Web Linux Windows

Support for iOS is planned but not currently implemented.


To use this plugin, add app_icon_shape as a dependency in your pubspec.yaml file.


Import the library.

import 'package:app_icon_shape/app_icon_shape.dart';

Then use the static getAppIconMask method anywhere in your Dart code.

Path? iconMask = await AppIconShape.getAppIconMask();

See the example app to learn how to use it in your app's UI.