LanguageDropdown constructor

const LanguageDropdown({
  1. Key? key,
  2. String? value,
  3. required dynamic onChange(
    1. String
    ),
  4. required List<LanguageOption> languages,
  5. String placeholder = 'Select language',
  6. bool disabled = false,
  7. bool isDarkMode = true,
  8. bool includeOriginal = false,
  9. bool includeAuto = false,
  10. bool includeSpeakerOutput = false,
})

Implementation

const LanguageDropdown({
  super.key,
  this.value,
  required this.onChange,
  required this.languages,
  this.placeholder = 'Select language',
  this.disabled = false,
  this.isDarkMode = true,
  this.includeOriginal = false,
  this.includeAuto = false,
  this.includeSpeakerOutput = false,
});