RadioTheme class
Theme data for customizing Radio widget appearance.
This class defines the visual properties that can be applied to Radio widgets, including colors for different states and sizing. These properties can be set at the theme level to provide consistent styling across the application.
The theme affects the radio button's visual appearance in both selected and unselected states, including border, background, and active indicator colors.
Constructors
- RadioTheme({Color? activeColor, Color? borderColor, double? size, Color? backgroundColor})
-
const
Properties
- activeColor → Color?
-
final
- backgroundColor → Color?
-
final
- borderColor → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double?
-
final
Methods
-
copyWith(
{ValueGetter< Color?> ? activeColor, ValueGetter<Color?> ? borderColor, ValueGetter<double?> ? size, ValueGetter<Color?> ? backgroundColor}) → RadioTheme -
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.
override