NUIDraggableSheet constructor

NUIDraggableSheet({
  1. required Widget child,
  2. bool collapseAtFirst = true,
  3. double collapseRatio = 0.2,
  4. BoxDecoration? decoration,
  5. double expandRatio = 0.8,
  6. NUIDraggableSheetOnScrollListener? scrollListener,
  7. double expandAcceptMargin = 0.0,
  8. NUIPersistentHeader? header,
  9. NUIDraggableSheetInnerScrollListener? innerScrollListener,
})

Implementation

NUIDraggableSheet({
  required this.child,
  this.collapseAtFirst = true,
  this.collapseRatio = 0.2,
  this.decoration,
  this.expandRatio = 0.8,
  this.scrollListener,
  this.expandAcceptMargin = 0.0,
  this.header,
  this.innerScrollListener
});