BlocXDropdownOptions class

Visual and layout options for BlocXFormDropdown.

Constructors

BlocXDropdownOptions({String? labelText, DropdownButtonBuilder? selectedItemBuilder, String? hintText, TextStyle? hintStyle, bool isExpanded = true, bool filled = true, Color? fillColor, BorderRadius? borderRadius, TextStyle? textStyle, EdgeInsetsGeometry? contentPadding, String? errorText, bool showBorder = false})
const

Properties

borderRadius BorderRadius?
Border radius applied to the dropdown popup.
final
contentPadding EdgeInsetsGeometry?
Content padding inside the field.
final
errorText String?
Static error text. Overridden by any bloc-driven error on the same field.
final
fillColor Color?
Fill colour for the field background.
final
filled bool
Whether the field background is filled. Defaults to true.
final
hashCode int
The hash code for this object.
no setterinherited
hintStyle TextStyle?
Text style for the hint text.
final
hintText String?
Hint text displayed when no item is selected.
final
isExpanded bool
Whether the dropdown expands to fill available width. Defaults to true.
final
labelText String?
Label text displayed above the dropdown.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedItemBuilder DropdownButtonBuilder?
Optional custom builder for the selected item display.
final
showBorder bool
Whether to show a visible border. Defaults to false.
final
textStyle TextStyle?
Text style for the selected item label.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited