getAvailableIcons static method

Future<List<String>> getAvailableIcons()

Gets a list of all available alternate icon names

Returns a list of icon names that can be used with setAlternateIconName On Android, this dynamically discovers all activity aliases configured in the manifest

Implementation

static Future<List<String>> getAvailableIcons() async {
  final List<dynamic> icons = await _channel.invokeMethod(
    'mGetAvailableIcons',
  );
  return icons.cast<String>();
}