size property
Provide different height of the panel in percentage of screen's height according to panel's current state. None of these should be null.
Make sure : closedHeight < collapsedHeight < expandedHeight.
Give values between 0.0 and 1.0, considered as percentage.
Implementation
final PanelSize size;