FTappableVariantConstraint extension type

Represents a combination of variants.

See also:

on
Implemented types
Implementers

Constructors

FTappableVariantConstraint.not(FTappableVariant variant)
Creates a FTappableVariantConstraint that negates variant.
factory

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

and(FTappableVariantConstraint other) FTappableVariantConstraint
Combines this with other using a logical AND operation.
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.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

android → const FTappableVariant
The Android platform variant.
desktop → const FTappableVariant
A platform variant that matches all desktop-based platforms, windows, macOS and linux.
disabled → const FTappableVariant
The semantic variant when this widget is disabled and cannot be interacted with.
focused → const FTappableVariant
The interaction variant when the given widget or any of its descendants have focus.
fuchsia → const FTappableVariant
The Fuchsia platform variant.
hovered → const FTappableVariant
The interaction variant when the user drags their mouse cursor over the given widget.
iOS → const FTappableVariant
The iOS platform variant.
linux → const FTappableVariant
The Linux platform variant.
macOS → const FTappableVariant
The macOS platform variant.
pressed → const FTappableVariant
The interaction variant when the user is actively pressing down on the given widget.
primaryFocused → const FTappableVariant
The interaction variant when a given widget (and not its descendants) has focus.
selected → const FTappableVariant
The semantic variant when this item has been selected.
touch → const FTappableVariant
A platform variant that matches all touch-based platforms, android, iOS and fuchsia.
web → const FTappableVariant
The web platform variant.
windows → const FTappableVariant
The Windows platform variant.