StepIndicatorPageView class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- StepIndicatorPageView
Constructors
-
StepIndicatorPageView({Key? key, required int steps, required PageController controller, required List<
Widget> children, Color activeBorderColor = kActiveColor, Color inActiveBorderColor = kInActiveColor, Color activeLineColor = kActiveLineColor, Color inActiveLineColor = kInActiveLineColor, Color activeNodeColor = kActiveColor, Color inActiveNodeColor = kInActiveNodeColor, double iconSize = kIconSize, IconData completedIcon = kCompletedIcon, double nodeThickness = kDefaultThickness, double nodeSize = kDefaultSize, double verticalPadding = kDefaultSize, double lineHeight = kDefaultLineHeight, BoxShape shape = BoxShape.circle, Color iconColor = kIconColor, Color backgroundColor = kIconColor, double spacing = kDefaultSize, double bottomSpacing = 0, IndicatorPosition indicatorPosition = IndicatorPosition.top, List<String> labels = const <String>[], Complete? complete, TextStyle? activeLabelStyle, TextStyle? inActiveLabelStyle, ScrollPhysics? physics}) -
const
Properties
- activeBorderColor → Color
-
Color of each completed node border
final
- activeLabelStyle → TextStyle?
-
Textstyle for an active label
final
- activeLineColor → Color
-
Color of each separating line after a completed node
final
- activeNodeColor → Color
-
Background color of a completed node
final
- backgroundColor → Color
-
Step indicator's background color
final
- bottomSpacing → double
-
Spacing from bottom of the screen if indicatorPosition is IndicatorPosition.bottom
final
-
children
→ List<
Widget> -
StepIndicatorPageView's children widgets
final
- complete → Complete?
-
Boolean function that returns
true
when last node should be completedfinal - completedIcon → IconData
-
Icon showed when a step is completed
final
- controller → PageController
-
Controller for tracking page changes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconColor → Color
-
completedIcon color
final
- iconSize → double
-
completedIcon size
final
- inActiveBorderColor → Color
-
Color of each uncompleted node border
final
- inActiveLabelStyle → TextStyle?
-
Textstyle for an inactive label
final
- inActiveLineColor → Color
-
Color of each separating line after an uncompleted node
final
- inActiveNodeColor → Color
-
Background color of an uncompleted node
final
- indicatorPosition → IndicatorPosition
-
Indicator's position
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
labels
→ List<
String> -
Labels for individual nodes
final
- lineHeight → double
-
Height of separating line
final
- nodeSize → double
-
Size of each node
final
- nodeThickness → double
-
Thickness of node's borders
final
- physics → ScrollPhysics?
-
How the page view should respond to user input.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → BoxShape
-
Node's shape
final
- spacing → double
-
Spacing from top of the screen if indicatorPosition is IndicatorPosition.top
final
- steps → int
-
Number of nodes to paint on screen
final
- verticalPadding → double
-
Step indicator's vertical padding
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
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