contentHeight property

double get contentHeight

Height available to content after safe-area and keyboard insets.

Implementation

double get contentHeight => math.max(
      0,
      windowSize.height - safeAreaInsets.vertical - viewInsets.bottom,
    );