BsSelectBox class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BsSelectBox
Constructors
-
BsSelectBox({Key? key, required BsSelectBoxController controller, EdgeInsets margin = EdgeInsets.zero, EdgeInsets padding = const EdgeInsets.all(12.0), FocusNode? focusNode, String? hintText, String? hintTextLabel, String? noDataText = 'No data found', String? placeholderSearch = 'Search ...', BsSelectBoxSize size = const BsSelectBoxSize(), BsSelectBoxStyle style = BsSelectBoxStyle.bordered, BsSelectBoxServerSide? serverSide, bool searchable = false, bool autoClose = true, bool alwaysUpdate = false, bool disabled = false, List<
BsSelectValidator> validators = const [], ValueChanged<BsSelectBoxOption> ? onChange, ValueChanged<BsSelectBoxOption> ? onRemoveSelectedItem, VoidCallback? onClear, VoidCallback? onClose, VoidCallback? onOpen, BsDialogBoxStyle dialogStyle = const BsDialogBoxStyle(), EdgeInsetsGeometry paddingDialog = const EdgeInsets.all(10.0), EdgeInsets marginDialog = const EdgeInsets.only(top: 2.0, bottom: 2.0)}) -
const
Properties
- alwaysUpdate → bool
-
final
- autoClose → bool
-
final
- controller → BsSelectBoxController
-
final
- dialogStyle → BsDialogBoxStyle
-
final
- disabled → bool
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintText → String?
-
final
- hintTextLabel → String?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- margin → EdgeInsets
-
final
- marginDialog → EdgeInsets
-
final
- noDataText → String?
-
final
-
onChange
→ ValueChanged<
BsSelectBoxOption> ? -
final
- onClear → VoidCallback?
-
final
- onClose → VoidCallback?
-
final
- onOpen → VoidCallback?
-
final
-
onRemoveSelectedItem
→ ValueChanged<
BsSelectBoxOption> ? -
final
- padding → EdgeInsets
-
final
- paddingDialog → EdgeInsetsGeometry
-
final
- placeholderSearch → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchable → bool
-
final
- serverSide → BsSelectBoxServerSide?
-
final
- size → BsSelectBoxSize
-
final
- style → BsSelectBoxStyle
-
final
-
validators
→ List<
BsSelectValidator> -
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StatefulWidget> -
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