SelectDropList<T> class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SelectDropList
Constructors
-
SelectDropList({Key? key, required OptionItems<
T> ? itemSelected, required DropdownListModel<T> dropListModel, required dynamic onOptionSelected(OptionItems<T> ), required String hintText, VoidCallback? onClear, bool showClearButton = false, bool showIcon = false, bool showArrowIcon = true, Widget? icon, double arrowIconSize = 20, Color? textColorTitle, double textSizeTitle = 16, EdgeInsetsGeometry? paddingDropItem, Color? arrowColor, Color? textColorItem, double textSizeItem = 14, bool showBorder = true, bool enable = true, double? width, BorderRadiusGeometry? borderRadius, double? height, double? heightBottomContainer, List<BoxShadow> ? boxShadow, Color? borderColor, Color? hintColorTitle, Decoration? containerDecoration, EdgeInsetsGeometry? containerPadding, Color? shadowColor, IconData? suffixIcon, EdgeInsetsGeometry? containerMargin, double borderSize = 1, BorderRadiusGeometry? dropBoxBorderRadius, Color? dropBoxBorderColor, Color? dropboxColor, Color? scrollThumbColor, double? scrollThickness, Radius? scrollRadius, EdgeInsetsGeometry? padding}) -
const
Properties
- arrowColor → Color?
-
final
- arrowIconSize → double
-
final
- borderColor → Color?
-
final
- borderRadius → BorderRadiusGeometry?
-
final
- borderSize → double
-
final
-
boxShadow
→ List<
BoxShadow> ? -
final
- containerDecoration → Decoration?
-
final
- containerMargin → EdgeInsetsGeometry?
-
final
- containerPadding → EdgeInsetsGeometry?
-
final
- dropBoxBorderColor → Color?
-
final
- dropBoxBorderRadius → BorderRadiusGeometry?
-
final
- dropboxColor → Color?
-
final
-
dropListModel
→ DropdownListModel<
T> -
final
- enable → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- heightBottomContainer → double?
-
final
- hintColorTitle → Color?
-
final
- hintText → String
-
final
- icon → Widget?
-
final
-
itemSelected
→ OptionItems<
T> ? -
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onClear → VoidCallback?
-
final
-
onOptionSelected
→ dynamic Function(OptionItems<
T> ) -
final
- padding → EdgeInsetsGeometry?
-
final
- paddingDropItem → EdgeInsetsGeometry?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollRadius → Radius?
-
final
- scrollThickness → double?
-
final
- scrollThumbColor → Color?
-
final
- shadowColor → Color?
-
final
- showArrowIcon → bool
-
final
- showBorder → bool
-
final
- showClearButton → bool
-
final
- showIcon → bool
-
final
- suffixIcon → IconData?
-
final
- textColorItem → Color?
-
final
- textColorTitle → Color?
-
final
- textSizeItem → double
-
final
- textSizeTitle → double
-
final
- width → double?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → SelectDropListState< 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, 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