changeAppIcon method

  1. @override
Future<String?> changeAppIcon(
  1. String? iosIcon,
  2. String? androidIconId
)
override

Implementation

@override
Future<String?> changeAppIcon(String? iosIcon, String? androidIconId) async {
  final version = await methodChannel.invokeMethod<String>('changeAppIcon', {
    "iosIcon": iosIcon,
    "androidIconId": androidIconId,
    "defaultiOS": VariableAppIcon.iOSDefaultAppIcon,
    "androidIcons": VariableAppIcon.androidAppIconIds
  });
  return version;
}