CustomDropdown constructor

const CustomDropdown({
  1. Key? key,
  2. required String? selectedValue,
  3. required String title,
  4. required dynamic onChanged(
    1. String?
    ),
  5. required List<String> items,
  6. required String hint,
  7. String? errorText,
})

Implementation

const CustomDropdown({
  Key? key,
  required this.selectedValue,
  required this.title,
  required this.onChanged,
  required this.items,
  required this.hint,
  this.errorText,
}) : super(key: key);