setPlatform function
- {TargetPlatform targetPlatform,
- bool withoutSplashOnCupertino = true}
set the platform
Implementation
void setPlatform({
TargetPlatform targetPlatform,
bool withoutSplashOnCupertino = true,
}) {
basePlatform = targetPlatform ?? defaultTargetPlatform;
withoutSplashOnCupertino = withoutSplashOnCupertino;
}