platform_interface library

Classes

File

Properties

canPlatformReadFiles bool
read-only
isPlatformAndroid bool
read-only
isPlatformIOS bool
Since dart:io doesn't work on the web, this library creates an abstraction of the most common access point in io, and causes them to silently fail on the web
read-only
isPlatformLinux bool
read-only
isPlatformMacOS bool
read-only
isPlatformWeb bool
read-only
isPlatformWindows bool
read-only
platformEnvironment Map<String, String>
read-only
platformName String
read-only

Functions

loadPlatformInfo() Future<DeviceInfo>