FDropdown class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FDropdown
Constructors
-
FDropdown({Key? key, ValueChanged? onChanged, double height = 40, double borderRadius = 10, TextStyle textStyle = const TextStyle(color: Colors.black, fontSize: 20), EdgeInsetsGeometry? contentPadding = const EdgeInsets.symmetric(horizontal: 10, vertical: 5), required List<
DropdownMenuItem> items, required dynamic currentValue, required Color color, required String title, IconData? prefixIcon, TextStyle titleStyle = const TextStyle(overflow: TextOverflow.ellipsis), TextStyle hintStyle = const TextStyle(color: Color(0xFF424242)), Color fillColor = Colors.white70, Color? selectedColor, String? hintText, Widget? suffixIcon, InputBorder? inputBorder, Color dropDownColor = const Color.fromRGBO(200, 200, 200, 0.4), InputBorder? enabledBorder = const OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(10)), borderSide: BorderSide(color: Color(0xFF646464), width: 0.5))}) -
const
Properties
- borderRadius → double
-
final
- color → Color
-
final
- contentPadding → EdgeInsetsGeometry?
-
final
- currentValue → dynamic
-
final
- dropDownColor → Color
-
final
- enabledBorder → InputBorder?
-
final
- fillColor → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
final
- hintStyle → TextStyle
-
final
- hintText → String?
-
final
- inputBorder → InputBorder?
-
final
-
items
→ List<
DropdownMenuItem> -
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onChanged → ValueChanged?
-
final
- prefixIcon → IconData?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedColor → Color?
-
final
- suffixIcon → Widget?
-
final
- textStyle → TextStyle
-
final
- title → String
-
final
- titleStyle → TextStyle
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< FDropdown> -
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