FItemStyles extension type

The item styles.

on
Implemented types

Constructors

FItemStyles.inherit({required FColors colors, required FTypography typography, required FStyle style})
Creates a FItemStyles that inherits its properties.

Properties

base FItemStyle
The base variant.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variants Map<FItemVariantConstraint, FItemStyle>
The variants.
finalinherited

Methods

apply(List<FVariantOperation<FItemVariantConstraint, FItemVariant, FItemStyle, FItemStyleDelta>> operations) FVariants<FItemVariantConstraint, FItemVariant, FItemStyle, FItemStyleDelta>
Applies a sequence of delta-based operations to this FVariants.
inherited
applyValues(List<FVariantValueDeltaOperation<FItemVariantConstraint, FItemVariant, FItemStyle, FItemStyleDelta>> operations) FVariants<FItemVariantConstraint, FItemVariant, FItemStyle, FItemStyleDelta>
Applies a sequence of value-based operations to this FVariants.
inherited
call(covariant FVariants<FItemVariantConstraint, FItemVariant, FItemStyle, FItemStyleDelta> _) FVariants<FItemVariantConstraint, FItemVariant, FItemStyle, FItemStyleDelta>
Applies this delta to the given value.
inherited
cast<T1 extends FVariantConstraint, T2 extends FVariant>() FVariants<T1, T2, FItemStyle, FItemStyleDelta>
Returns a new FVariants with the variant type parameters cast to T1 and T2.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(Set<FVariant> variants) FItemStyle
Returns most specific matching variant, or base if no constraints match.
inherited
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

Operators

operator ==(Object other) bool
The equality operator.
inherited