supported_platform library

If the current platform is supported, load dart.io.

Creating images necessary for the splash screens requires the io.dart package, which unfortunately does not have support for JS. Because pub.dev docks pub points for packages not being cross-platform, it is necessary to use conditional imports to avoid losing pub points. This library is included when the package is loaded on a supported platform, loads dart.io and the rest of the package.

Properties

applicationName String
getter/setter pair

Functions

createAndroidManifest(dynamic domain) → void
Creating a new maifest File
createMainActivityKitFile(dynamic finalPattern) → void
Create MainActivity File
createSplashKitFile(dynamic finalPattern) → void
Create Splash kotlin file
deletingAndroidMenifest() Future<void>
Deleting the Manifest File
indexTemplate({String? projectName}) String
introMessage(String currentVersion) String
tryCreateSplash() Future<void>
Function that will be called on supported platforms to create the splash screens.
tryCreateSplashByConfig(Map<String, dynamic> config) Future<void>
Function that will be called on supported platforms to create the splash screen based on a config argument.
tryRemoveSplash() Future<void>
Function that will be called on supported platforms to remove the splash screens.