ChangePage class Null safety

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. [...]
read-only, inherited
item Item
final
mode ChangePageMode
final
page int
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
slot Slot?
final, inherited

Methods

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

Operators

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