getColors method

  1. @override
Future<List<int>?> getColors()
override

Returns wallpaper-based colors from the platform.

Implementation

@override
Future<List<int>?> getColors() {
  return _channel.invokeMethod<List<int>?>('getColors');
}