CupertinoRadioData<T> class final

Cupertino-specific configuration for a radio button.

Extends PlatformRadioData with Cupertino-only properties.

Inheritance

Constructors

CupertinoRadioData({Key? widgetKey, MouseCursor? mouseCursor, bool toggleable = kDefaultToggleable, Color? activeColor, Color? focusColor, FocusNode? focusNode, bool autofocus = kDefaultAutofocus, bool enabled = kDefaultEnabled, RadioGroupRegistry<T>? groupRegistry, Color? inactiveColor, Color? fillColor, bool useCheckmarkStyle = kDefaultUseCheckmarkStyle})
Creates Cupertino-specific radio configuration.
const

Properties

activeColor Color?
Color of the radio when active.
finalinherited
autofocus bool
Whether the radio should autofocus.
finalinherited
enabled bool
Whether the radio is enabled.
finalinherited
fillColor Color?
Fill color of the radio.
final
focusColor Color?
Color of the radio when focused.
finalinherited
focusNode FocusNode?
Focus node for the radio.
finalinherited
groupRegistry RadioGroupRegistry<T>?
Optional group registry for coordinating radio buttons.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
inactiveColor Color?
Color of the radio when inactive.
final
mouseCursor MouseCursor?
Mouse cursor when hovering over the radio.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toggleable bool
Whether the radio can be toggled off by tapping it again.
finalinherited
useCheckmarkStyle bool
Whether to use a checkmark style instead of a filled circle.
final
widgetKey Key?
Key applied to the underlying platform widget.
finalinherited

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

Constants

kDefaultUseCheckmarkStyle → const bool
Default value for useCheckmarkStyle.