AppDropdown<T> constructor
const
AppDropdown<T> ({
- Key? key,
- T? selected,
- required List<
T> data, - dynamic onChanged(
- T? newValue
- String? getTitle(
- T data
- dynamic isVerticalAlign = true,
- String? title,
- 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,
});