FVariantConstraint class sealed
Represents a combination of variants under which a widget can be styled differently.
Users should generally use the provided widget-specific variants instead of this.
See also:
- FVariants, which maps variant constraints to values.
- Implementers
- FAlertVariantConstraint
- FAutocompleteSectionVariantConstraint
- FBadgeVariantConstraint
- FButtonSizeVariantConstraint
- FButtonVariantConstraint
- FCheckboxVariantConstraint
- FDialogAxisVariantConstraint
- FDividerAxisVariantConstraint
- FFormFieldErrorVariantConstraint
- FFormFieldVariantConstraint
- FHeaderVariantConstraint
- FItemGroupVariantConstraint
- FItemVariantConstraint
- FMultiSelectTagVariantConstraint
- FRadioVariantConstraint
- FResizableAxisVariantConstraint
- FSelectSectionVariantConstraint
- FSliderAxisVariantConstraint
- FSliderVariantConstraint
- FSwitchVariantConstraint
- FTabVariantConstraint
- FTappableVariantConstraint
- FTextFieldVariantConstraint
- FVariant
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
satisfiedBy(
Set< FVariant> variants) → bool -
Returns true if all variants in this constraint are present in
variants. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
max<
T extends FVariantConstraint> (T a, T b) → T - Returns the more specific of two constraints.