MultiSelectCheckList<T> class
Container for multi select check list cards.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- MultiSelectCheckList
Constructors
-
MultiSelectCheckList({Key? key, required List<
CheckListCard< items, EdgeInsetsGeometry itemPadding = kCheckListPadding, int? maxSelectableCount, bool isMaxSelectableWithPerpetualSelects = false, MultiSelectDecorations itemsDecoration = const CheckListViewinitialDecoration(), MultiSelectTextStyles textStyles = const CheckListViewInitialTS(), MultiSelectAnimations animations = const MultiSelectAnimations(), ListViewSettings listViewSettings = const ListViewSettings(), void onMaximumSelected(List<T> >T> selectedItems, T selectedItem)?, required void onChange(List<T> selectedItems, T selectedItem), double chechboxScaleFactor = 1, MultiSelectController<T> ? controller, bool singleSelectedItem = false}) -
const
Properties
- animations → MultiSelectAnimations
-
Animation settings.
final
- chechboxScaleFactor → double
-
Checkbox scale changing factor.
final
-
controller
→ MultiSelectController<
T> ? -
A Controller for multi select. Allows to get all selected items, de select all, select all.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMaxSelectableWithPerpetualSelects → bool
-
if true -> maxSelectingCount = maxSelectingCount + PerpetualSelected items.
final
- itemPadding → EdgeInsetsGeometry
-
CheckListCard padding.
final
-
items
→ List<
CheckListCard< T> > -
CheckListCard
List for check list container.final - itemsDecoration → MultiSelectDecorations
-
Common decorations for all items.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- listViewSettings → ListViewSettings
-
All the settings for the list view.
final
- maxSelectableCount → int?
-
Maximum selectable count.
final
-
onChange
→ void Function(List<
T> selectedItems, T selectedItem) -
Call when item is selected.
final
-
onMaximumSelected
→ (void Function(List<
T> selectedItems, T selectedItem)?) -
Call when reached to the maximum selectable count.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singleSelectedItem → bool
-
let select only one
final
- textStyles → MultiSelectTextStyles
-
Common text styles for all items.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _MultiSelectCheckListState< T> -
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