AgentStepsStyler class
- Inheritance
-
- Object
- Mixable<
StyleSpec< AgentStepsSpec> > - Mix<
StyleSpec< AgentStepsSpec> > - Style<
AgentStepsSpec> - MixStyler<
AgentStepsStyler, AgentStepsSpec> - AgentStepsStyler
- Implemented types
- Available extensions
Constructors
-
AgentStepsStyler({BoxStyler? container, FlexBoxStyler? trigger, IconStyler? icon, TextStyler? label, IconStyler? indicator, FlexBoxStyler? rail, AnimationConfig? animation, WidgetModifierConfig? modifier, List<
VariantStyle< ? variants})AgentStepsSpec> > - AgentStepsStyler.container(BoxStyler value)
-
factory
-
AgentStepsStyler.create({Prop<
StyleSpec< ? container, Prop<BoxSpec> >StyleSpec< ? trigger, Prop<FlexBoxSpec> >StyleSpec< ? icon, Prop<IconSpec> >StyleSpec< ? label, Prop<TextSpec> >StyleSpec< ? indicator, Prop<IconSpec> >StyleSpec< ? rail, List<FlexBoxSpec> >VariantStyle< ? variants, WidgetModifierConfig? modifier, AnimationConfig? animation})AgentStepsSpec> > -
const
- AgentStepsStyler.icon(IconStyler value)
-
factory
- AgentStepsStyler.indicator(IconStyler value)
-
factory
- AgentStepsStyler.label(TextStyler value)
-
factory
- AgentStepsStyler.rail(FlexBoxStyler value)
-
factory
- AgentStepsStyler.trigger(FlexBoxStyler value)
-
factory
- AgentStepsStyler.wrap(WidgetModifierConfig value)
-
factory
Properties
- $animation → AnimationConfig?
-
finalinherited
-
$container
→ Prop<
StyleSpec< ?BoxSpec> > -
final
-
$icon
→ Prop<
StyleSpec< ?IconSpec> > -
final
-
$indicator
→ Prop<
StyleSpec< ?IconSpec> > -
final
-
$label
→ Prop<
StyleSpec< ?TextSpec> > -
final
- $modifier → WidgetModifierConfig?
-
finalinherited
-
$rail
→ Prop<
StyleSpec< ?FlexBoxSpec> > -
final
-
$stylerFieldNames
→ Set<
String> -
Names of every field represented by the Styler's Mix.props.
no setteroverride
-
$trigger
→ Prop<
StyleSpec< ?FlexBoxSpec> > -
final
-
$variants
→ List<
VariantStyle< ?AgentStepsSpec> > -
finalinherited
- hashCode → int
-
Overrides the hash code getter to compute hash code based on properties.
no setterinherited
- mergeKey → Object
-
Default implementation uses runtimeType as the merge key
no setterinherited
-
props
→ List<
Object?> -
The properties based on which equality and hash code are computed.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool
-
Whether to use a detailed string representation of the object.
no setterinherited
Methods
-
animate(
AnimationConfig value) → AgentStepsStyler -
Sets the animation configuration.
override
-
applyVariants(
Iterable< NamedVariant> variantsToApply) → AgentStepsStyler -
Applies the specified named variants by merging their styles into this style.
inherited
-
build(
BuildContext context, {Set< NamedVariant> namedVariants = const {}}) → StyleSpec<AgentStepsSpec> -
Builds the style into a fully resolved spec with metadata.
inherited
-
container(
BoxStyler value) → AgentStepsStyler - Sets the container.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
getDiff(
Equatable other) → Map< String, String> -
Returns a map of properties that differ between this object and another.
inherited
-
icon(
IconStyler value) → AgentStepsStyler - Sets the icon.
-
indicator(
IconStyler value) → AgentStepsStyler - Sets the indicator.
-
keyframeAnimation(
{Listenable? trigger, required List< KeyframeTrack> timeline, required KeyframeStyleBuilder<AgentStepsSpec, AgentStepsStyler> styleBuilder}) → AgentStepsStyler -
Creates a keyframe animation. It will animate through the given timeline.
inherited
-
label(
TextStyler value) → AgentStepsStyler - Sets the label.
-
merge(
covariant AgentStepsStyler? other) → AgentStepsStyler -
Merges with another AgentStepsStyler.
override
-
mergeActiveVariants(
BuildContext context, {required Set< NamedVariant> namedVariants}) → Style<AgentStepsSpec> -
Merges all active variants with their nested variants recursively.
inherited
-
modifier(
WidgetModifierConfig value) → AgentStepsStyler - Sets the widget modifier.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAndroid(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for Android platform.
inherited
-
onBreakpoint(
Breakpoint breakpoint, AgentStepsStyler style) → AgentStepsStyler -
Creates a variant based on the specified breakpoint.
inherited
-
onBuilder(
AgentStepsStyler fn(BuildContext context)) → AgentStepsStyler -
Creates a variant using a builder function that receives the build context.
inherited
-
onDark(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for dark mode.
inherited
-
onDesktop(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for desktop breakpoint.
inherited
-
onDisabled(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for disabled state
inherited
-
onEnabled(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for enabled state (opposite of disabled)
inherited
-
onFocused(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for focused state.
inherited
-
onFocusVisible(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for focus that should show a focus indicator.
inherited
-
onFuchsia(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for Fuchsia platform.
inherited
-
onHovered(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for hover state
inherited
-
onIos(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for iOS platform.
inherited
-
onLandscape(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for landscape device orientation.
inherited
-
onLight(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for light mode.
inherited
-
onLinux(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for Linux platform.
inherited
-
onLtr(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for left-to-right text direction.
inherited
-
onMacos(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for macOS platform.
inherited
-
onMobile(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for mobile breakpoint.
inherited
-
onNot(
ContextVariant contextVariant, AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for when the context does NOT match the provided variant.
inherited
-
onPortrait(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for portrait device orientation.
inherited
-
onPressed(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for pressed state
inherited
-
onRtl(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for right-to-left text direction.
inherited
-
onStatus(
AgentRunStatus status, AgentStepsStyler value) → AgentStepsStyler -
Available on AgentStepsStyler, provided by the AgentStepsStylerStatus extension
Appliesvaluewhile the run is instatus. -
onTablet(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for tablet breakpoint.
inherited
-
onWeb(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for web platform.
inherited
-
onWindows(
AgentStepsStyler style) → AgentStepsStyler -
Creates a variant for Windows platform.
inherited
-
phaseAnimation<
P> ({Listenable? trigger, required List< P> phases, required AgentStepsStyler styleBuilder(P phase, AgentStepsStyler style), required CurveAnimationConfig configBuilder(P phase)}) → AgentStepsStyler -
Creates a phase animation. It will animate through the given phases.
inherited
-
rail(
FlexBoxStyler value) → AgentStepsStyler - Sets the rail.
-
resolve(
BuildContext context) → StyleSpec< AgentStepsSpec> -
Resolves to StyleSpec<AgentStepsSpec> using
context.override -
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
-
trigger(
FlexBoxStyler value) → AgentStepsStyler - Sets the trigger.
-
variant(
Variant variant, AgentStepsStyler style) → AgentStepsStyler -
Must be implemented by the class using this mixin
inherited
-
variants(
List< VariantStyle< value) → AgentStepsStylerAgentStepsSpec> > -
Sets the style variants.
override
-
wrap(
WidgetModifierConfig value) → AgentStepsStyler -
Wraps with a widget modifier.
override
Operators
-
operator ==(
Object other) → bool -
Overrides the equality operator to compare based on the properties.
inherited