CheckboxThemeData class

Mixed in types
Annotations

Constructors

CheckboxThemeData({ButtonState<Decoration?>? checkedDecoration, ButtonState<Decoration?>? uncheckedDecoration, ButtonState<Decoration?>? thirdstateDecoration, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, IconData? icon, ButtonState<Color?>? checkedIconColor, ButtonState<Color?>? uncheckedIconColor, ButtonState<Color?>? thirdstateIconColor, ButtonState<Color?>? foregroundColor})
Creates a CheckboxThemeData
const
CheckboxThemeData.standard(FluentThemeData theme)
factory

Properties

checkedDecoration ButtonState<Decoration?>?
The decoration of the checkbox when it's checked
final
checkedIconColor ButtonState<Color?>?
The color of the icon when the checkbox is checked
final
foregroundColor ButtonState<Color?>?
The color of the content of the checkbox
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData?
The icon displayed in the checkbox when it's checked
final
margin EdgeInsetsGeometry?
The margin around the checkbox
final
padding EdgeInsetsGeometry?
The padding around the checkbox
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thirdstateDecoration ButtonState<Decoration?>?
The decoration of the checkbox when it's in its third state
final
thirdstateIconColor ButtonState<Color?>?
The color of the icon when the checkbox is in its third state
final
uncheckedDecoration ButtonState<Decoration?>?
The decoration of the checkbox when it's unchecked
final
uncheckedIconColor ButtonState<Color?>?
The color of the icon when the checkbox is unchecked
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
merge(CheckboxThemeData? style) CheckboxThemeData
Merge this checkbox theme data with another
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
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.
inherited

Static Methods

lerp(CheckboxThemeData? a, CheckboxThemeData? b, double t) CheckboxThemeData
Linearly interpolate between two checkbox themes.