platform static method

TargetPlatform platform()

Reference of TargetPlatform

Implementation

static TargetPlatform platform() {
  return theme()!.platform;
}