RadioTileThemeData class

Defines the visual properties of RadioTile.

Descendant widgets obtain the current RadioTileThemeData object using RadioTheme.of(context). Instances of RadioTileThemeData can be customized with RadioTileThemeData.copyWith or RadioTileThemeData.merge.

Inheritance
Mixed in types
Implementers
Annotations

Constructors

RadioTileThemeData({required Curve curve, required Duration duration, required ControlAffinity controlAffinity, required RadioStyle radioStyle, required ButtonStyle buttonStyle})
Creates a theme data that can be used for RadioTileTheme.
const
RadioTileThemeData.defaults(BuildContext context)
A RadioTileThemeData with default values.
factory
RadioTileThemeData.from([RadioTileThemeData? other])
Creates a RadioTileThemeData from another one that probably null.

Properties

buttonStyle ButtonStyle
The ButtonStyle to be applied to the clickable area.
final
controlAffinity ControlAffinity
Where to place the control next to a label.
final
curve Curve
The curve to apply when animating the parameters of radio tile widget.
final
duration Duration
The duration over which to animate the parameters of radio tile widget.
final
hashCode int
The hash code for this object.
no setteroverride
radioStyle RadioStyle
The RadioStyle to be applied to the radio tile widget
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Object
The extension's type.
no setterinherited

Methods

copyWith({Curve? curve, Duration? duration, ControlAffinity? controlAffinity, RadioStyle? radioStyle, ButtonStyle? buttonStyle}) RadioTileThemeData
Creates a copy of this RadioTileThemeData but with the given fields replaced with the new values.
override
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
lerp(covariant ThemeExtension<RadioTileThemeData>? other, double t) RadioTileThemeData
Linearly interpolate with another ThemeExtension object.
override
merge(RadioTileThemeData? other) RadioTileThemeData
Creates a copy of this RadioTileThemeData but with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toMap() Map<String, dynamic>
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.
override

Constants

fallback → const RadioTileThemeData
A RadioTileThemeData with some reasonable default values.