FBadgeVariantConstraint extension type

Represents a combination of variants.

See also:

on
Implemented types
Implementers

Constructors

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