RoundedCheckBox class
Widget that draw a beautiful checkbox rounded. Provided with animation if wanted
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- RoundedCheckBox
Constructors
- RoundedCheckBox({Key? key, bool? isChecked, Widget? checkedWidget, Widget? uncheckedWidget, Color? checkedColor, Color? uncheckedColor, Color? disabledColor, Border? border, Color? borderColor, double? size, Duration? animationDuration, dynamic onTap(bool?)?, String text = '', TextStyle? textStyle})
-
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.
no setterinherited
- isChecked → bool?
-
Define weather the checkbox is marked or not
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 callback, it will be disabled
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double?
-
Define the size of the checkbox
final
- text → String
-
final
- textStyle → TextStyle?
-
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(
) → RoundedCheckBoxState -
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.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
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
-
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.
inherited