ChangePage class

Like the name states, this is a simple way to change the current page. As usual you define an item and slot and additionally the index of the page you want to navigate to(starting with 1).

Inheritance

Constructors

ChangePage(int page, Item item, {Slot? slot, ChangePageMode mode = ChangePageMode.exact})
Like the name states, this is a simple way to change the current page. As usual you define an item and slot and additionally the index of the page you want to navigate to(starting with 1).
ChangePage.next(Item item, {Slot? slot})
factory
ChangePage.prev(Item item, {Slot? slot})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
item → Item
final
mode ChangePageMode
final
page int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slot → Slot?
finalinherited

Methods

applyWhenPossible({Slot? slot, ChangePageMode? mode}) ChangePage
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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