OudsControlBackgroundModifier class

A class that provides the background color for the OudsCheckbox/OudsRadioButton/OudsSwitch based on its state.

Constructors

OudsControlBackgroundModifier.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

getBackgroundColor(dynamic state) Color
Gets the background color based on the control state.
getBackgroundItemColor(dynamic state) Color
Gets the background color based on the control 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