CustomInputTranslate constructor
const
CustomInputTranslate({
- Key? key,
- required TranslateApi translateInput,
- required TextEditingController controller,
- String initialLanguage = 'en',
- List<
String> languages = const ['en', 'tr'], - Widget? child,
- Widget translatedWidgetBuilder(
- BuildContext context,
- String translatedText
- bool isHiddenTranslatedText = false,
- 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);