LanguageDropdown constructor
const
LanguageDropdown({ - Key? key,
- String? value,
- required dynamic onChange(
- String
),
- required List<LanguageOption> languages,
- String placeholder = 'Select language',
- bool disabled = false,
- bool isDarkMode = true,
- bool includeOriginal = false,
- bool includeAuto = false,
- 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,
});