HubbleStep class

A material step used in HubbleStepper. The step can have a title and subtitle, an icon within its circle, some content and a state that governs its styling.

See also:

Annotations

Constructors

HubbleStep({double lineWidth = 24, bool showLine = true, Color? lineColor, IndexedWidgetBuilder? iconBuilder, required Widget title, Widget? subtitle, Widget? content, StepState state = StepState.indexed, bool isActive = false, bool isExpanded = false})
Creates a step for a HubbleStepper.
const

Properties

content → Widget?
The content of the step that appears below the title and subtitle.
final
hashCode → int
The hash code for this object.
no setterinherited
iconBuilder → IndexedWidgetBuilder?
final
isActive → bool
Whether or not the step is active. The flag only influences styling.
final
isExpanded → bool
Whether or not the step is active. The flag only influences styling.
final
lineColor → Color?
final
lineWidth → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showLine → bool
Whether or not the step is active. The flag only influences styling.
final
state → StepState
The state of the step which determines the styling of its components and whether steps are interactive.
final
subtitle → Widget?
The subtitle of the step that appears below the title and has a smaller font size. It typically gives more details that complement the title.
final
title → Widget
The title of the step that typically describes it.
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