StepperPageView class

Inheritance

Constructors

StepperPageView({Key? key, required List<PageStep> pageSteps, PageController? pageController, int? initialPage, Axis scrollDirection = Axis.horizontal, bool reverse = false, ScrollPhysics? physics, ValueChanged<int>? onPageChanged, Duration pageTransitionDuration = const Duration(milliseconds: 300), Curve pageTransitionCurve = Curves.easeInOut, StepperPageIndicatorBuilder? footerIndicatorBuilder, StepperPageIndicatorBuilder headerIndicatorBuilder = defaultPageIndicatorBuilder, StepperPageItemBuilder pageBuilder = defaultPageBuilder, EdgeInsets pagePadding = const EdgeInsets.all(0)})
const

Properties

footerIndicatorBuilder StepperPageIndicatorBuilder?
A builder for the footer of the stepper.
final
hashCode int
The hash code for this object.
no setterinherited
headerIndicatorBuilder StepperPageIndicatorBuilder
A builder for the page indicator of the stepper.
final
initialPage int?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onPageChanged ValueChanged<int>?
Called whenever the page in the center of the viewport changes.
final
pageBuilder StepperPageItemBuilder
A builder for the content of the page.
final
pageController PageController?
final
pagePadding EdgeInsets
final
pageSteps List<PageStep>
The steps of the stepper whose titles, subtitles, icons always get shown.
final
pageTransitionCurve Curve
The curve to use when animating from page to page.
final
pageTransitionDuration Duration
The duration spent transitioning from page to page.
final
physics ScrollPhysics?
How the page view should respond to user input.
final
reverse bool
Whether the page view scrolls in the reading direction.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDirection Axis
The axis along which the page view scrolls.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StepperPageView>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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

Static Methods

defaultPageBuilder(BuildContext context, int index, List<PageStep> pageSteps) Widget
defaultPageIndicatorBuilder(BuildContext context, List<PageStep> pageSteps, PageControlsDetails pageControlsDetails, ValueListenable<double> pageProgress) Widget