ModalDraggableScrollableSheetParams.medium constructor

const ModalDraggableScrollableSheetParams.medium({
  1. double initialHeightChildSize = 0.4,
  2. double minHeightChildSize = 0.4,
  3. double maxHeightChildSize = 0.6,
  4. double withChildSize = 0.6,
  5. bool expand = true,
  6. bool snap = false,
  7. List<double>? snapSizes,
  8. Duration? snapAnimationDuration,
  9. bool shouldCloseOnMinExtent = true,
})

Implementation

const new medium({
  double initialHeightChildSize = 0.4,
  double minHeightChildSize = 0.4,
  double maxHeightChildSize = 0.6,
  double withChildSize = 0.6,
  bool expand = true,
  bool snap = false,
  List<double>? snapSizes,
  Duration? snapAnimationDuration,
  bool shouldCloseOnMinExtent = true,
}) : this(
       initialHeightChildSize: initialHeightChildSize,
       minHeightChildSize: minHeightChildSize,
       maxHeightChildSize: maxHeightChildSize,
       withChildSize: withChildSize,
       expand: expand,
       snap: snap,
       snapSizes: snapSizes,
       snapAnimationDuration: snapAnimationDuration,
       shouldCloseOnMinExtent: shouldCloseOnMinExtent,
     );