RoundCheckBox class Null safety

Widget that draw a beautiful checkbox rounded. Provided with animation if wanted

Inheritance

Constructors

RoundCheckBox({Key? key, bool? isChecked, Widget? checkedWidget, Widget? uncheckedWidget, Color? checkedColor, Color? uncheckedColor, Color? disabledColor, Border? border, Color? borderColor, double? size, Duration? animationDuration, bool isRound = true, required dynamic onTap(bool?)?})
const

Properties

animationDuration Duration?
Define the duration of the animation. If any
final
border Border?
Define the border of the widget
final
borderColor Color?
Define the border color of the widget
final
checkedColor Color?
Define the color that is shown when Widgets is checked
final
checkedWidget Widget?
Define the widget that is shown when Widgets is checked
final
disabledColor Color?
Define the color that is shown when Widgets is disabled
final
hashCode int
The hash code for this object.
@nonVirtualread-onlyinherited
isChecked bool?
Define wether the checkbox is marked or not
final
isRound bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onTap → (dynamic Function?(bool?)?)
Define Function that os executed when user tap on checkbox If onTap is given a null callack, it will be disabled
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
size double?
Define the size of the checkbox
final
uncheckedColor Color?
Define the color that is shown when Widgets is unchecked
final
uncheckedWidget Widget?
Define the widget that is shown when Widgets is unchecked
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _RoundCheckBoxState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
@protectedinherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
@nonVirtualinherited