RubberBottomSheet constructor

const RubberBottomSheet({
  1. Key? key,
  2. required RubberAnimationController animationController,
  3. required Widget lowerLayer,
  4. required Widget upperLayer,
  5. Widget? menuLayer,
  6. ScrollController? scrollController,
  7. Widget? header,
  8. double headerHeight = 50.0,
  9. double dragFriction = 0.52,
  10. dynamic onDragStart()?,
  11. dynamic onDragEnd()?,
  12. Function? onTap,
})

Implementation

const RubberBottomSheet(
    {Key? key,
    required this.animationController,
    required this.lowerLayer,
    required this.upperLayer,
    this.menuLayer,
    this.scrollController,
    this.header,
    this.headerHeight = 50.0,
    this.dragFriction = 0.52,
    this.onDragStart,
    this.onDragEnd,
    this.onTap})
    : super(key: key);