AgentSourcesStyler class
- Inheritance
-
- Implemented types
-
Constructors
-
AgentSourcesStyler({FlexBoxStyler? trigger, IconStyler? icon, TextStyler? label, IconStyler? indicator, WrapBoxStyler? list, BoxStyler? source, TextStyler? sourceLabel, AnimationConfig? animation, WidgetModifierConfig? modifier, List<VariantStyle<AgentSourcesSpec>>? variants})
-
-
AgentSourcesStyler.create({Prop<StyleSpec<FlexBoxSpec>>? trigger, Prop<StyleSpec<IconSpec>>? icon, Prop<StyleSpec<TextSpec>>? label, Prop<StyleSpec<IconSpec>>? indicator, Prop<StyleSpec<WrapBoxSpec>>? list, Prop<StyleSpec<BoxSpec>>? source, Prop<StyleSpec<TextSpec>>? sourceLabel, List<VariantStyle<AgentSourcesSpec>>? variants, WidgetModifierConfig? modifier, AnimationConfig? animation})
-
const
-
AgentSourcesStyler.icon(IconStyler value)
-
factory
-
AgentSourcesStyler.indicator(IconStyler value)
-
factory
-
AgentSourcesStyler.label(TextStyler value)
-
factory
-
AgentSourcesStyler.list(WrapBoxStyler value)
-
factory
-
AgentSourcesStyler.source(BoxStyler value)
-
factory
-
AgentSourcesStyler.sourceLabel(TextStyler value)
-
factory
-
AgentSourcesStyler.trigger(FlexBoxStyler value)
-
factory
-
AgentSourcesStyler.wrap(WidgetModifierConfig value)
-
factory
Methods
-
animate(AnimationConfig value)
→ AgentSourcesStyler
-
Sets the animation configuration.
override
-
applyVariants(Iterable<NamedVariant> variantsToApply)
→ AgentSourcesStyler
-
Applies the specified named variants by merging their styles into this style.
inherited
-
build(BuildContext context, {Set<NamedVariant> namedVariants = const {}})
→ StyleSpec<AgentSourcesSpec>
-
Builds the style into a fully resolved spec with metadata.
inherited
-
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)
→ AgentSourcesStyler
-
Sets the icon.
-
indicator(IconStyler value)
→ AgentSourcesStyler
-
Sets the indicator.
-
keyframeAnimation({Listenable? trigger, required List<KeyframeTrack> timeline, required KeyframeStyleBuilder<AgentSourcesSpec, AgentSourcesStyler> styleBuilder})
→ AgentSourcesStyler
-
Creates a keyframe animation. It will animate through the given timeline.
inherited
-
label(TextStyler value)
→ AgentSourcesStyler
-
Sets the label.
-
list(WrapBoxStyler value)
→ AgentSourcesStyler
-
Sets the list.
-
merge(covariant AgentSourcesStyler? other)
→ AgentSourcesStyler
-
Merges with another AgentSourcesStyler.
override
-
mergeActiveVariants(BuildContext context, {required Set<NamedVariant> namedVariants})
→ Style<AgentSourcesSpec>
-
Merges all active variants with their nested variants recursively.
inherited
-
modifier(WidgetModifierConfig value)
→ AgentSourcesStyler
-
Sets the widget modifier.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onAndroid(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for Android platform.
inherited
-
onBreakpoint(Breakpoint breakpoint, AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant based on the specified breakpoint.
inherited
-
onBuilder(AgentSourcesStyler fn(BuildContext context))
→ AgentSourcesStyler
-
Creates a variant using a builder function that receives the build context.
inherited
-
onDark(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for dark mode.
inherited
-
onDesktop(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for desktop breakpoint.
inherited
-
onDisabled(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for disabled state
inherited
-
onEnabled(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for enabled state (opposite of disabled)
inherited
-
onFocused(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for focused state.
inherited
-
onFocusVisible(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for focus that should show a focus indicator.
inherited
-
onFuchsia(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for Fuchsia platform.
inherited
-
onHovered(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for hover state
inherited
-
onIos(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for iOS platform.
inherited
-
onLandscape(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for landscape device orientation.
inherited
-
onLight(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for light mode.
inherited
-
onLinux(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for Linux platform.
inherited
-
onLtr(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for left-to-right text direction.
inherited
-
onMacos(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for macOS platform.
inherited
-
onMobile(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for mobile breakpoint.
inherited
-
onNot(ContextVariant contextVariant, AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for when the context does NOT match the provided variant.
inherited
-
onPortrait(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for portrait device orientation.
inherited
-
onPressed(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for pressed state
inherited
-
onRtl(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for right-to-left text direction.
inherited
-
onTablet(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for tablet breakpoint.
inherited
-
onWeb(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for web platform.
inherited
-
onWindows(AgentSourcesStyler style)
→ AgentSourcesStyler
-
Creates a variant for Windows platform.
inherited
-
phaseAnimation<P>({Listenable? trigger, required List<P> phases, required AgentSourcesStyler styleBuilder(P phase, AgentSourcesStyler style), required CurveAnimationConfig configBuilder(P phase)})
→ AgentSourcesStyler
-
Creates a phase animation. It will animate through the given phases.
inherited
-
resolve(BuildContext context)
→ StyleSpec<AgentSourcesSpec>
-
Resolves to StyleSpec<AgentSourcesSpec> using
context.
override
-
source(BoxStyler value)
→ AgentSourcesStyler
-
Sets the source.
-
sourceLabel(TextStyler value)
→ AgentSourcesStyler
-
Sets the sourceLabel.
-
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)
→ AgentSourcesStyler
-
Sets the trigger.
-
variant(Variant variant, AgentSourcesStyler style)
→ AgentSourcesStyler
-
Must be implemented by the class using this mixin
inherited
-
variants(List<VariantStyle<AgentSourcesSpec>> value)
→ AgentSourcesStyler
-
Sets the style variants.
override
-
wrap(WidgetModifierConfig value)
→ AgentSourcesStyler
-
Wraps with a widget modifier.
override
Operators
-
operator ==(Object other)
→ bool
-
Overrides the equality operator to compare based on the properties.
inherited