Specifies the description of the current state of the application as it pertains to the application switcher (a.k.a "recent tasks").
Arguments:
description: The application description.
Platform Specific Notes:
If application-specified metadata is unsupported on the platform, specifying it is a no-op and always return true.
Source
static Future<Null> setApplicationSwitcherDescription(ApplicationSwitcherDescription description) async {
await PlatformMessages.invokeMethod(
_kChannelName,
'SystemChrome.setApplicationSwitcherDescription',
<Map<String, dynamic>>[<String, dynamic>{
'label': description.label,
'primaryColor': description.primaryColor,
}],
);
}