TencentCloudChatTranslate constructor

const TencentCloudChatTranslate({
  1. Key? key,
  2. BoxDecoration? decoration,
  3. TextStyle? textStyle,
  4. EdgeInsetsGeometry? padding,
  5. dynamic onTranslateSuccess()?,
  6. dynamic onTranslateFailed()?,
  7. required String sourceText,
  8. required String targetLanguage,
})

Implementation

const TencentCloudChatTranslate(
    {super.key,
    this.decoration,
    this.textStyle,
    this.padding,
    this.onTranslateSuccess,
    this.onTranslateFailed,
    required this.sourceText,
    required this.targetLanguage});