screenHeight property
double
get
screenHeight
The current screen height in logical pixels.
Implementation
double get screenHeight {
final data = FlexiInheritedWidget.of(_context, aspect: FlexiAspect.height);
if (data == null) {
throw FlutterError(
'FlexiConfig not found in context. Make sure to wrap your app with FlexiConfig.');
}
return data.screenHeight;
}