FHUPlatformExtension extension
Exposes the active TargetPlatform from the nearest Theme.
Use this when a widget should follow the app's configured platform behavior instead of reading global platform information directly.
- on
Properties
- targetPlatform → TargetPlatform
-
Available on BuildContext, provided by the FHUPlatformExtension extension
Returns the TargetPlatform from ThemeData.platform.no setter