of static method
Returns the current FPlatformVariant.
Implementation
@useResult
static FPlatformVariant of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<FAdaptiveScope>()?.platform ?? _platform;
Returns the current FPlatformVariant.
@useResult
static FPlatformVariant of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<FAdaptiveScope>()?.platform ?? _platform;