DropdownContainer<T extends BaseDropdownProvider> constructor
const
DropdownContainer<T extends BaseDropdownProvider> ({
- Key? key,
- required bool disabled,
- bool addDropdownKey = true,
- VoidCallback? onTapInside,
- VoidCallback? onTapOutside,
- String? labelText,
- bool disableInput = false,
- bool outlineBorderVisible = true,
- bool suffixTapEnabled = true,
- Widget? suffixWidget,
- DropdownDecoration? decoration,
- Widget? child,
- EdgeInsetsGeometry? contentPadding = const EdgeInsets.symmetric(vertical: 6, horizontal: 12),
- required DropdownType dropdownType,
Implementation
const DropdownContainer({
super.key,
required this.disabled,
this.addDropdownKey = true,
this.onTapInside,
this.onTapOutside,
this.labelText,
this.disableInput = false,
this.outlineBorderVisible = true,
this.suffixTapEnabled = true,
this.suffixWidget,
this.decoration,
this.child,
this.contentPadding = const EdgeInsets.symmetric(
vertical: 6,
horizontal: 12,
),
required this.dropdownType,
});