statusBarHeight property

double get statusBarHeight

The offset from the top, in dp

Implementation

double get statusBarHeight =>
    _context == null ? 0 : MediaQuery.of(_context!).padding.top;