DropdownButton<T> constructor

const DropdownButton<T>({
  1. Key? key,
  2. required T? value,
  3. required List<DropdownMenuItem<T>> items,
  4. String? hint,
  5. required void onChanged(
    1. T? value
    ),
})

Implementation

const DropdownButton({
  super.key,
  required this.value,
  required this.items,
  this.hint,
  required this.onChanged,
});