PositionedActionControlMixin mixin
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