DropdownEditor<T> constructor

const DropdownEditor<T>({
  1. required String name,
  2. required T value,
  3. required ValueChanged<T> onChanged,
  4. required List<T> items,
  5. required String humanName(
    1. T
    ),
})

Creates a DropdownButton list to choose between items.

Implementation

const DropdownEditor({
	required this.name,
	required this.value,
	required this.onChanged,
	required this.items,
	required this.humanName,
});