ZeroCheckboxStyle class
- Mixed-in types
Constructors
- ZeroCheckboxStyle.new({Color? activeColor, Color? inactiveColor, Color? disabledColor, Color? checkColor, BorderRadius? borderRadius, double? borderSize})
-
const
Properties
- activeColor → Color?
-
Border & background color when the checkbox is checked
final
- borderRadius → BorderRadius?
-
Border radius of checkbox
final
- borderSize → double?
-
The border size of checkbox
final
- checkColor → Color?
-
final
- disabledColor → Color?
-
Border/background color when checkbox is disabled
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveColor → Color?
-
Border color when the checkbox is unchecked
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Color? activeColor, Color? inactiveColor, Color? disabledColor, Color? checkColor, BorderRadius? borderRadius, double? borderSize}) → ZeroCheckboxStyle - If the caller passes in a value for a parameter, use that value, otherwise use the value from this object.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
merge(
ZeroCheckboxStyle? other) → ZeroCheckboxStyle -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCheckBoxTheme(
) → CheckboxThemeData - Convert ZeroCheckboxStyle to theme data checkbox material CheckboxThemeData
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fallback(
{Color? activeColor, Color? inactiveColor, Color? disabledColor, Color? checkColor, BorderRadius? borderRadius}) → ZeroCheckboxStyle - A default value style of ZeroCheckboxStyle
-
lerp(
ZeroCheckboxStyle? a, ZeroCheckboxStyle? b, double t) → ZeroCheckboxStyle