CheckboxTileThemeData class

Defines the visual properties of CheckboxTile.

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

Inheritance
Mixed in types
Implementers
Annotations

Constructors

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

Properties

buttonStyle ButtonStyle
The ButtonStyle to be applied to the clickable area.
final
checkboxStyle CheckboxStyle
The CheckboxStyle to be applied to the checkbox tile widget
final
controlAffinity ControlAffinity
Where to place the control next to a label.
final
curve Curve
The curve to apply when animating the parameters of checkbox tile widget.
final
duration Duration
The duration over which to animate the parameters of checkbox tile widget.
final
hashCode int
The hash code for this object.
no setteroverride
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, CheckboxStyle? checkboxStyle, ButtonStyle? buttonStyle}) CheckboxTileThemeData
Creates a copy of this CheckboxTileThemeData 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<CheckboxTileThemeData>? other, double t) CheckboxTileThemeData
Linearly interpolate with another ThemeExtension object.
override
merge(CheckboxTileThemeData? other) CheckboxTileThemeData
Creates a copy of this CheckboxTileThemeData 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 CheckboxTileThemeData
A CheckboxTileThemeData with some reasonable default values.