OudsControlBorderModifier class

A class that provides the border color for the OudsCheckbox/OudsRadioButton/OudsSwitch based on its state and error status.

Constructors

OudsControlBorderModifier.new(BuildContext context)

Properties

context BuildContext
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBorderColor(OudsControlState state, bool error, bool selected) Color
Gets the border color based on the checkbox state and error status.
getBorderRadius(OudsCheckboxTokens checkboxTokens) double
Gets the border radius based on the checkbox.
getBorderWidth(OudsControlState state, bool selected, dynamic token) double
Gets the border width based on the checkbox state.
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