UFUMultiSelectHeader class

Inheritance

Constructors

UFUMultiSelectHeader({required String title, TextEditingController? searchInputCtrl, Widget? totalAmount, String? inputHintText, bool canShowSearchBar = false, ValueChanged<String>? onSearch, Widget? headerPrefixChild, String? helperText, bool canShowSubList = false, VoidCallback? showSubList, bool isSelectedSubListItems = false, bool isDisabled = false, required bool isViewSubList, Key? key})
const

Properties

canShowSearchBar → bool
Defines searchBar is added or not of a multiselect.
final
canShowSubList → bool
Defines to show user filter
final
hashCode → int
The hash code for this object.
no setterinherited
headerPrefixChild → Widget?
Defines to add child in the header at right side of a multiselect.
final
helperText → String?
helperText can be used to display some info as a helper to user
final
inputHintText → String?
Defines hint text of a searchBar of a multiselect.
final
isDisabled → bool
final
isSelectedSubListItems → bool
Defines that sublist is selected or not.
final
isViewSubList → bool
Define to show subList or not.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onSearch → ValueChanged<String>?
Defines the onSearch method to filter the modified list.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchInputCtrl → TextEditingController?
Defines input value of a searchBar of a multiselect.
final
showSubList → VoidCallback?
Function to show user filter or not.
final
title → String
Defines title of a multiselect.
final
totalAmount → Widget?
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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