platform property

TargetPlatform? platform
final

The TargetPlatform for which assets should be used. This allows images to be specified in a platform-neutral fashion yet use different assets on different platforms, to match local conventions e.g. for color matching or shadows.

Implementation

final TargetPlatform? platform;