DropdownBody class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- DropdownBody
Constructors
-
DropdownBody({required Key key, required GlobalKey<
State< inputKey, required List dropdownList, required Function onChange, required Function closeDropdown, required Function getSelectedItem, required Map selectedItem, required bool dropdownItemReverse, required bool isTriangle, required double resultWidth, required double resultHeight, required double dropdownWidth, required double dropdownHeight, required double dropdownItemHeight, required Alignment resultAlign, required String dropdownAlign, required String triangleAlign, required Alignment dropdownItemAlign, required MainAxisAlignment dropdownItemMainAxis, required EdgeInsets dropdownItemPadding, required EdgeInsets dropdownPadding, required EdgeInsets selectedItemPadding, required BoxDecoration resultBD, required BoxDecoration dropdownBD, required BoxDecoration selectedItemBD, required TextStyle selectedItemTS, required TextStyle unselectedItemTS, required double labelIconGap, required double dropdownItemGap, required double dropdownItemTopGap, required double dropdownItemBottomGap, required double gap, required double triangleWidth, required double triangleHeight, required bool isAnimation, required bool isResultLabel, required BuildContext bodyContext, required bool isDropdownLabel, dynamic triangleBorder, required double triangleLeft})StatefulWidget> >
Properties
- bodyContext ↔ BuildContext
-
getter/setter pair
- closeDropdown ↔ Function
-
getter/setter pair
- dropdownAlign ↔ String
-
getter/setter pair
- dropdownBD ↔ BoxDecoration
-
getter/setter pair
- dropdownHeight ↔ double
-
getter/setter pair
- dropdownIcon ↔ Widget
-
getter/setter pair
- dropdownIsSelected ↔ List
-
getter/setter pair
- dropdownItemAlign ↔ Alignment
-
getter/setter pair
- dropdownItemBottomGap ↔ double
-
getter/setter pair
- dropdownItemGap ↔ double
-
getter/setter pair
- dropdownItemHeight ↔ double
-
getter/setter pair
- dropdownItemMainAxis ↔ MainAxisAlignment
-
getter/setter pair
- dropdownItemPadding ↔ EdgeInsets
-
getter/setter pair
- dropdownItemReverse ↔ bool
-
getter/setter pair
- dropdownItemTopGap ↔ double
-
getter/setter pair
- dropdownList ↔ List
-
getter/setter pair
- dropdownPadding ↔ EdgeInsets
-
getter/setter pair
- dropdownWidth ↔ double
-
getter/setter pair
- gap ↔ double
-
getter/setter pair
- getSelectedItem ↔ Function
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputKey
↔ GlobalKey<
State< StatefulWidget> > -
getter/setter pair
- isAnimation ↔ bool
-
getter/setter pair
- isDropdownLabel ↔ bool
-
getter/setter pair
- isResultLabel ↔ bool
-
getter/setter pair
- isTriangle ↔ bool
-
getter/setter pair
- key ↔ Key
-
Controls how one widget replaces another widget in the tree.
getter/setter pairoverride-getter
- labelIconGap ↔ double
-
getter/setter pair
- onChange ↔ Function
-
getter/setter pair
- resultAlign ↔ Alignment
-
getter/setter pair
- resultBD ↔ BoxDecoration
-
getter/setter pair
- resultHeight ↔ double
-
getter/setter pair
- resultWidth ↔ double
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenHeight ↔ double
-
getter/setter pair
- selectedItem ↔ Map
-
getter/setter pair
- selectedItemBD ↔ BoxDecoration
-
getter/setter pair
- selectedItemPadding ↔ EdgeInsets
-
getter/setter pair
- selectedItemTS ↔ TextStyle
-
getter/setter pair
- triangleAlign ↔ String
-
getter/setter pair
- triangleBorder ↔ BorderSide
-
getter/setter pair
- triangleBoxShadows ↔ List
-
getter/setter pair
- triangleHeight ↔ double
-
getter/setter pair
- triangleLeft ↔ double
-
getter/setter pair
- triangleWidth ↔ double
-
getter/setter pair
- unselectedItemTS ↔ TextStyle
-
getter/setter pair
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → DropdownBodyState -
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