ToggleSheetHeightModel.offset constructor

ToggleSheetHeightModel.offset(
  1. double offset
)

Defines ToggleSheet height from it's offset from the top of the screen.

For example offset = 100 then viewport height is 800, the height of sheet will be 700 pixels

Implementation

factory ToggleSheetHeightModel.offset(double offset) =>
    OffsetHeightModel(offset);