FItemVariantConstraint extension type

Represents a combination of variants.

See also:

on
Implemented types
Implementers

Constructors

FItemVariantConstraint.not(FItemVariant variant)
Creates a FItemVariantConstraint 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(FItemVariantConstraint other) FItemVariantConstraint
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 FItemVariant
The Android platform variant.
desktop → const FItemVariant
A platform variant that matches all desktop-based platforms, windows, macOS and linux.
destructive → const FItemVariant
The destructive item style.
fuchsia → const FItemVariant
The Fuchsia platform variant.
iOS → const FItemVariant
The iOS platform variant.
linux → const FItemVariant
The Linux platform variant.
macOS → const FItemVariant
The macOS platform variant.
touch → const FItemVariant
A platform variant that matches all touch-based platforms, android, iOS and fuchsia.
web → const FItemVariant
The web platform variant.
windows → const FItemVariant
The Windows platform variant.