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