DraggableBottomSheet constructor
const
DraggableBottomSheet({})
Implementation
const DraggableBottomSheet({
super.key,
this.initialChildSize = .75,
this.minChildSize = .25,
this.maxChildSize = 1,
this.minFocusableExtent = .5,
this.contentHeight,
this.updateInsets = true,
required this.child,
}) : assert(minChildSize >= 0.0, 'minChildSize cannot be negative'),
assert(maxChildSize <= 1.0, 'maxChildSize cannot be > 1'),
assert(minChildSize <= initialChildSize, 'minChildSize cannot be > initialChildSize'),
assert(initialChildSize <= maxChildSize, 'initialChildSize cannot be > maxChildSize'),
assert(contentHeight == null || contentHeight >= 0, 'contentHeight cannot be negative');