BottomSheet constructor
const
BottomSheet({})
Creates a bottom sheet.
Implementation
const BottomSheet({
Key? key,
this.header,
this.showHandle = true,
this.showDivider,
this.description,
this.initialChildSize = 0.5,
this.minChildSize = 0.25,
this.maxChildSize = 0.85,
this.children,
}) : assert(
header == null || description == null,
'You can NOT provide both header and description',
),
assert(minChildSize >= 0.0),
assert(maxChildSize <= 1.0),
assert(minChildSize <= initialChildSize),
assert(initialChildSize <= maxChildSize),
super(key: key);