BoxVariant class

Constructors

BoxVariant({List<BoxStyle> styles = const [], Map<String, String> defaultVariants = const {}, Map<String, Variant> variants = const {}})

Properties

defaultVariants Map<String, String>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styles List<BoxStyle>
final
variants Map<String, Variant>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(Map<String, String?> providedVariants) BoxStyle
toString() String
A string representation of this object.
inherited

Operators

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