DDSCheckboxGroup class

Inheritance

Constructors

DDSCheckboxGroup.new({Key? key, CheckboxGroupVariant variant = CheckboxGroupVariant.grouped, DDSCheckboxGroupDirection? direction = DDSCheckboxGroupDirection.vertical, String? title, String? subTitle, required String labelText, Parent? parent, Color? checkedColor = ThemeColors.primary, List<GroupChildren>? children, ValueChanged<Map<String, Object>>? onChanged, Border? border, Color? checkedBorderColor, Color? uncheckedBorderColor, Icon? customCheckIcon, CheckboxShape shape = CheckboxShape.roundedRectangle, CheckboxSize? size = CheckboxSize.medium, double? spacing, TextStyle? titleTextStyle, double? titleFontSize, FontWeight? titleFontWeight, Color? titleColor, TitleType? titleType = TitleType.h5, Variant? titleVariant, TextStyle? subTitleTextStyle, double? subTitleFontSize, FontWeight? subTitleFontWeight, Color? subTitleColor, TitleType? subTitleType = TitleType.h6, Variant? subTitleVariant, TextStyle? parentLabelTextStyle, double? parentLabelFontSize, FontWeight? parentLabelFontWeight, Color? parentLabelColor, TitleType? parentLabelType = TitleType.h5, Variant? parentLabelVariant, TextStyle? childLabelTextStyle, double? childLabelFontSize, FontWeight? childLabelFontWeight, Color? childLabelColor, double? childLabelLetterSpacing, double? childLabelLineHeight, TextDecoration? childLabelDecoration, Color? childLabelDecorationColor, List<Shadow>? childLabelShadows, FontStyle? childLabelFontStyle, TextAlign? childLabelTextAlign, int? childLabelMaxLines, TextOverflow? childLabelOverflow})
const

Properties

border Border?
final
checkedBorderColor Color?
final
checkedColor Color?
final
childLabelColor Color?
final
childLabelDecoration TextDecoration?
final
childLabelDecorationColor Color?
final
childLabelFontSize double?
final
childLabelFontStyle FontStyle?
final
childLabelFontWeight FontWeight?
final
childLabelLetterSpacing double?
final
childLabelLineHeight double?
final
childLabelMaxLines int?
final
childLabelOverflow TextOverflow?
final
childLabelShadows List<Shadow>?
final
childLabelTextAlign TextAlign?
final
childLabelTextStyle TextStyle?
final
children List<GroupChildren>?
final
customCheckIcon Icon?
final
direction DDSCheckboxGroupDirection?
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
labelText String
final
onChanged ValueChanged<Map<String, Object>>?
final
parent Parent?
final
parentLabelColor Color?
final
parentLabelFontSize double?
final
parentLabelFontWeight FontWeight?
final
parentLabelTextStyle TextStyle?
final
parentLabelType TitleType?
final
parentLabelVariant Variant?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape CheckboxShape
final
size CheckboxSize?
final
spacing double?
final
subTitle String?
final
subTitleColor Color?
final
subTitleFontSize double?
final
subTitleFontWeight FontWeight?
final
subTitleTextStyle TextStyle?
final
subTitleType TitleType?
final
subTitleVariant Variant?
final
title String?
final
titleColor Color?
final
titleFontSize double?
final
titleFontWeight FontWeight?
final
titleTextStyle TextStyle?
final
titleType TitleType?
final
titleVariant Variant?
final
uncheckedBorderColor Color?
final
variant CheckboxGroupVariant
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _DDSCheckboxGroupState
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, int wrapWidth = 65}) 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

Static Properties

isParentSelected Map<String?, bool?>
no setter
selectedChildren Map<String?, List<String?>>
no setter