StyleConfig class
Constructors
- StyleConfig({bool enabled = true, bool shouldExpand = true, bool shouldDecorate = true})
-
const
- StyleConfig.disabled({bool shouldExpand = true})
-
factory
- StyleConfig.enabled({bool shouldDecorate = true})
-
shouldDecorate tells whether or not to apply backgroundColor, border and cornerRadius
factory
Properties
- enabled → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldDecorate → bool
-
final
- shouldExpand → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited