AppDropdown<T> constructor

const AppDropdown<T>({
  1. Key? key,
  2. T? selected,
  3. required List<T> data,
  4. dynamic onChanged(
    1. T? newValue
    )?,
  5. String? getTitle(
    1. T data
    )?,
  6. dynamic isVerticalAlign = true,
  7. String? title,
  8. EdgeInsets contentPadding = InputConstants.contentPadding,
})

Implementation

const AppDropdown({
  super.key,
  this.selected,
  required this.data,
  this.onChanged,
  this.getTitle,
  this.isVerticalAlign = true,
  this.title,
  this.contentPadding=InputConstants.contentPadding,
});