platform property

TargetPlatform get platform

Returns the current platform of the device (iOS, Android, etc.).

Implementation

TargetPlatform get platform => Theme.of(context).platform;