JourneyProgressStyle class
Comprehensive configuration for journey progress display.
Combines the indicator type, position, and padding into a single object.
Example:
JourneyProgressStyle(
indicator: JourneyProgressIndicator.dots(),
position: ProgressIndicatorPosition.bottom,
padding: EdgeInsets.symmetric(horizontal: 24, vertical: 12),
)
Constructors
- JourneyProgressStyle({JourneyProgressIndicator indicator = const JourneyProgressIndicator.linear(), ProgressIndicatorPosition position = ProgressIndicatorPosition.top, EdgeInsets? padding})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- indicator → JourneyProgressIndicator
-
The progress indicator to display.
final
- padding → EdgeInsets?
-
Padding around the progress indicator.
Falls back to
EdgeInsets.symmetric(horizontal: 16, vertical: 8)when null.final - position → ProgressIndicatorPosition
-
Where to place the progress indicator (top or bottom).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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