initialize method

  1. @override
Future<void> initialize(
  1. List<String> icons,
  2. String defaultIcon
)
override

Initializes plugin with icons and defaultIcon. Should be called before any other method

Implementation

@override
Future<void> initialize(List<String> icons, String defaultIcon) async =>
    await methodChannel.invokeMethod(
        'initialize', {'icons': icons, 'defaultIcon': defaultIcon});