ThemeDraggableSheet constructor
const
ThemeDraggableSheet({})
Creates an instance of ThemeDraggableSheet with customizable settings.
Example:
ThemeDraggableSheet(
initialChildSize: 0.5,
minChildSize: 0.25,
maxChildSize: 1.0,
expand: false,
snap: true,
snapSizes: [0.25, 0.5, 0.75],
snapAnimationDuration: Duration(milliseconds: 200),
shouldCloseOnMinExtent: true,
)
Implementation
const ThemeDraggableSheet({
this.initialChildSize = 0.5,
this.minChildSize = 0.25,
this.maxChildSize = 1.0,
this.expand = false,
this.snap = false,
this.snapSizes,
this.snapAnimationDuration,
this.shouldCloseOnMinExtent = true,
});