LanguageSelectionBottomSheet constructor

const LanguageSelectionBottomSheet({
  1. required List<LanguageModel> languages,
  2. required void onApply(
    1. LanguageModel source,
    2. LanguageModel? target
    ),
  3. LanguageModel? initialSourceLanguage,
  4. LanguageModel? initialTargetLanguage,
  5. bool isSourceLanguageLocked = false,
  6. bool isTranslationAllowed = true,
  7. Key? key,
})

Implementation

const LanguageSelectionBottomSheet({
  required this.languages,
  required this.onApply,
  this.initialSourceLanguage,
  this.initialTargetLanguage,
  this.isSourceLanguageLocked = false,
  this.isTranslationAllowed = true,
  super.key,
});