height property
double
get
height
What the screen actually loses. Zero on a stage with no measurement, so a
forced-up keyboard on Fit raises nothing rather than inventing a height.
Implementation
double get height => switch (_mode) {
KeyboardMode.down => 0,
KeyboardMode.up => _heightFor(variant),
KeyboardMode.auto => requested ? _heightFor(variant) : 0,
};