LanguageSelectionBottomSheet constructor
const
LanguageSelectionBottomSheet({
- required List<
LanguageModel> languages, - required void onApply(
- LanguageModel source,
- LanguageModel? target
- LanguageModel? initialSourceLanguage,
- LanguageModel? initialTargetLanguage,
- bool isSourceLanguageLocked = false,
- bool isTranslationAllowed = true,
- Key? key,
Implementation
const LanguageSelectionBottomSheet({
required this.languages,
required this.onApply,
this.initialSourceLanguage,
this.initialTargetLanguage,
this.isSourceLanguageLocked = false,
this.isTranslationAllowed = true,
super.key,
});