physicalHeight top-level property

double physicalHeight
final

Get the device screen height

Implementation

final double physicalHeight =
    WidgetsBinding.instance.platformDispatcher.views.first.physicalSize.height;