height property
double
get
height
The glass's short side, in points: the shadow's opacity follows it, and glass taller than 64pt has the fixed inputs of large glass. The bar's, 62pt, by default.
Implementation
double get height => _height;
set
height
(double value)
Implementation
set height(double value) {
if (value == _height) {
return;
}
final bool wasLarge = isLarge;
_height = value;
if (isLarge != wasLarge) {
_decide();
}
_snap();
}