SmartPageController class
Constructors
-
SmartPageController({required List<
StatefulWidget> initialPages, required BuildContext context, int? initialPage, bool? keepPage})
Properties
-
no setter
- context ↔ BuildContext
-
getter/setter pair
- currentBottomIndex ↔ int
-
getter/setter pair
- currentPageIndex → int
-
no setter
- duration ↔ Duration
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialPage ↔ int?
-
getter/setter pair
-
initialPages
↔ List<
StatefulWidget> -
getter/setter pair
- keepPage ↔ bool?
-
getter/setter pair
-
pageHistory
↔ List<
int> -
getter/setter pair
-
pageHistoryTabSelected
↔ List<
int> -
getter/setter pair
-
pages
↔ List<
StatefulWidget> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
Function listener) → dynamic -
addOnBackPageListener(
Function listener) → dynamic -
addOnBottomOptionSelected(
dynamic listener(int index)) → dynamic -
addOnInsertPageListener(
dynamic listener(StatefulWidget page, int newPageIndex)) → dynamic -
addOnPageChangedListener(
dynamic listener(int index)) → dynamic -
back(
) → Future< bool> -
getPageViewController(
) → PageController? -
goToPage(
int index, {bool? animated = true, bool? dontUpdateHistoryTabSelected, }) → dynamic -
insertPage(
StatefulWidget newPage, {bool? goToNewPage = true, bool? ignoreTabHistory = false, }) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshViews(
) → void -
selectBottomTab(
int index) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getInstance(
) → SmartPageController -
newInstance(
{required List< StatefulWidget> initialPages, required BuildContext context, int? initialPage, bool? keepPage}) → SmartPageController