ZetaStep class
Zeta step used in ZetaStepper. The step can have a title and subtitle, an icon within its circle, some content and a state that governs its styling.
Constructors
- ZetaStep({required Widget title, @Deprecated('Steps no longer manage their own content. ' 'Deprecated as of 0.16.1') Widget? content, Widget? subtitle, bool disabled = false, String? semanticLabel, @Deprecated('To disable a step, set its disabled prop to true. To complete a step, set the currentStep prop on the stepper greater than the step index. ' 'Deprecated as of 0.16.1') ZetaStepType type = ZetaStepType.disabled})
-
Creates a step for a ZetaStepper.
const
Properties
- content → Widget?
-
The content of the step that appears below the title and subtitle.
final
- disabled → bool
-
Whether the step is disabled and does not react to taps.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticLabel → String?
-
The semantic label of the step that is read by screen readers.
final
- subtitle → Widget?
-
The subtitle of the step that appears above the title.
final
- title → Widget
-
The title of the step that typically describes it.
final
- type → ZetaStepType
-
The type of the step which determines the styling of its components
and whether steps are interactive.
final
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