CustomInputTranslate constructor

const CustomInputTranslate({
  1. Key? key,
  2. required TranslateApi translateInput,
  3. required TextEditingController controller,
  4. String initialLanguage = 'en',
  5. List<String> languages = const ['en', 'tr'],
  6. Widget? child,
  7. Widget translatedWidgetBuilder(
    1. BuildContext context,
    2. String translatedText
    )?,
  8. bool isHiddenTranslatedText = false,
  9. bool isHiddenButton = false,
})

Implementation

const CustomInputTranslate({
  Key? key,
  required this.translateInput,
  required this.controller,
  this.initialLanguage = 'en',
  this.languages = const ['en', 'tr'],
  this.child,
  this.translatedWidgetBuilder,
  this.isHiddenTranslatedText = false,
  this.isHiddenButton = false,
}) : super(key: key);