DraggableScrollableNotification constructor
Creates a notification that the extent of a DraggableScrollableSheet has changed.
All parameters are required. The minExtent must be >= 0. The maxExtent must be <= 1.0. The extent must be between minExtent and maxExtent.
Implementation
DraggableScrollableNotification({
required this.extent,
required this.minExtent,
required this.maxExtent,
required this.initialExtent,
required this.context,
this.shouldCloseOnMinExtent = true,
}) : assert(0.0 <= minExtent),
assert(maxExtent <= 1.0),
assert(minExtent <= extent),
assert(minExtent <= initialExtent),
assert(extent <= maxExtent),
assert(initialExtent <= maxExtent);