DraggableBottomSheet constructor

const DraggableBottomSheet({
  1. Key? key,
  2. double initialChildSize = .6,
  3. double minChildSize = .2,
  4. double maxChildSize = 1,
  5. double minFocusableExtent = .5,
  6. double? contentHeight,
  7. bool updateInsets = true,
  8. required Widget builder(
    1. BuildContext context,
    2. DraggableScrollableNotification notification
    ),
})

Implementation

const DraggableBottomSheet({
  super.key,
  this.initialChildSize = .6,
  this.minChildSize = .2,
  this.maxChildSize = 1,
  this.minFocusableExtent = .5,
  this.contentHeight,
  this.updateInsets = true,
  required this.builder,
});