BottomSheetBarController class
A controller used to expand or collapse the bottom sheet of a BottomSheetBar. Listeners can be added to respond to expand and collapse events. The expanded or collapsed state can also be determined through this controller.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCollapsed → bool
-
Only returns
true
if the bottom sheet is fully collapsedno setter - isExpanded → bool
-
Only returns
true
if the bottom sheet is fully expandedno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
dynamic listener()) → void - Adds a function to be called on every animation frame
-
attach(
AnimationController animationController) → void - Used internally to assign the AnimationController created by a BottomSheetBar to this controller. Unless you're using advanced animation techniques, you probably won't ever need to use this method.
-
collapse(
) → Future? - Collapse the bottom sheet built by BottomSheetBar.expandedBuilder
-
dispose(
) → void - Removes all previously added listeners
-
expand(
) → Future? - Expand the bottom sheet built by BottomSheetBar.expandedBuilder
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeListener(
Function listener) → void - Remove a previously added listener
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited