ContinuousBottomSheetController class
A controller for managing the state of a ContinuousBottomSheet.
This controller allows you to programmatically navigate between pages or close the entire bottom sheet.
Constructors
Properties
- currentPage → int
-
The index of the currently visible page.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- pageCount → int
-
The total number of pages in the bottom sheet.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
animateToPage(
int page) → void - Animates to the specified page index.
-
close(
) → void - Closes the entire bottom sheet.
-
jumpToPage(
int page) → void - Jumps directly to the specified page index without animation.
-
nextPage(
) → void - Animates to the next page in the bottom sheet.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
previousPage(
) → void - Animates to the previous page in the bottom sheet.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited