getMaterialYouColors function

Future getMaterialYouColors()

Returns material you colors from Android

Implementation

Future<dynamic> getMaterialYouColors() async {
  if (isAndroid && await isAndroid12Above()) {
    return await invokeNativeMethod(channelName, 'materialYouColors');
  } else {
    return {};
  }
}