DropdownContainer<T extends BaseDropdownProvider> constructor

const DropdownContainer<T extends BaseDropdownProvider>({
  1. Key? key,
  2. required bool disabled,
  3. bool addDropdownKey = true,
  4. VoidCallback? onTapInside,
  5. VoidCallback? onTapOutside,
  6. String? labelText,
  7. bool disableInput = false,
  8. bool outlineBorderVisible = true,
  9. bool suffixTapEnabled = true,
  10. Widget? suffixWidget,
  11. DropdownDecoration? decoration,
  12. Widget? child,
  13. EdgeInsetsGeometry? contentPadding = const EdgeInsets.symmetric(vertical: 6, horizontal: 12),
  14. 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,
});