ToggleSheetHeightModel.fraction constructor
ToggleSheetHeightModel.fraction(
- double fraction
Defines ToggleSheet height from fraction ratio of the viewport of the screen.
For example fraction = .9 then viewport height is 800, the height of sheet will be 720 pixels
Implementation
factory ToggleSheetHeightModel.fraction(double fraction) =>
FractionHeightModel(fraction);