Sheet constructor

Sheet({
  1. SheetMode mode = SheetMode.COLLAPSED_SHEET,
  2. CollapsedVisibleHeight collapsedVisibleHeight = CollapsedVisibleHeight.SMALL,
  3. BadgedButton? listButton,
})

Implementation

Sheet({
  this.mode = SheetMode.COLLAPSED_SHEET,
  this.collapsedVisibleHeight = CollapsedVisibleHeight.SMALL,
  BadgedButton? listButton,
}) : listButton = listButton ?? BadgedButton();