app_icon_shape 0.0.1
app_icon_shape: ^0.0.1 copied to clipboard
A Flutter plugin to get the platform's app launcher icon's shape.
app_icon_shape #
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.
Usage #
To use this plugin, add app_icon_shape as a dependency in your pubspec.yaml file.
Example #
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.