PositionedActionControlMixin mixin

Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
openedPosition ActionPosition?
get the current opened actions position it would be ActionPosition.pre or ActionPosition.post if the SlidablePanel is not open, it would be null
no setter
postActionController ActionController?
no setter
preActionController ActionController?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

collapse(int index, {required ActionPosition position, Curve curve = Curves.easeInOut, Duration duration = const Duration(milliseconds: 150)}) Future<void>
collapse the index to the original position according to the openedPosition if the openedPosition is null, it would do nothing
expand(int index, {Curve curve = Curves.easeInOut, Duration duration = const Duration(milliseconds: 150)}) Future<void>
expand the index to occupy the opened action panel according to the openedPosition if the openedPosition is null, it would do nothing
hasExpandedAt(int index) bool
whether the index item is expanded according to the openedPosition if the openedPosition is null, it would return false if there is no ActionController at the openedPosition, it would return false
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toggleAction(int index, {Curve curve = Curves.easeInOut, Duration duration = const Duration(milliseconds: 150)}) Future<void>
toggle the action item at index according to the openedPosition if index has been expanded, it would collapse if index has not been expanded, it would expand
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited