MSHColorConfig class

A color configuration for MSHCheckbox. This class gives a more fine-grained level of control over the coloring of the checkbox, by allowing colors to be specified for each component of the checkbox.

Constructors

MSHColorConfig({ColorFromState? borderColor, ColorFromState? tintColor, ColorFromState? fillColor, ColorFromState? checkColor})
Construct an MSHColorConfig
const
MSHColorConfig.fromCheckedUncheckedDisabled({Color? checkedColor, Color uncheckedColor = const Color(0xFFCCCCCC), Color disabledColor = const Color(0xFFCCCCCC)})
Presents a simplified interface for constructing an MSHColorConfig.
factory

Properties

borderColor → ColorFromState
The color of the border of the checkbox when MSHCheckbox.value is false.
final
checkColor → ColorFromState
The color of the check mark.
final
fillColor → ColorFromState
The background fill color for the checkbox when MSHCheckbox.value is true.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tintColor → ColorFromState
The color of the border of the checkbox when MSHCheckbox.value is true.
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