ZebaBottomSheet constructor

const ZebaBottomSheet({
  1. Key? key,
  2. required Widget child,
  3. List<double> snapSizes = const [0.2, 0.5, 1.0],
  4. double initialSize = 0.5,
  5. double minSize = 0.2,
  6. double maxSize = 1.0,
  7. ZebaSnapController? controller,
  8. Duration animationDuration = const Duration(milliseconds: 300),
  9. Curve animationCurve = Curves.easeInOut,
})

Implementation

const ZebaBottomSheet({
  super.key,
  required this.child,
  this.snapSizes = const [0.2, 0.5, 1.0],
  this.initialSize = 0.5,
  this.minSize = 0.2,
  this.maxSize = 1.0,
  this.controller,
  this.animationDuration = const Duration(milliseconds: 300),
  this.animationCurve = Curves.easeInOut,
});