TencentCloudChatTranslate constructor

TencentCloudChatTranslate({
  1. Key? key,
  2. BoxDecoration? decoration,
  3. TextStyle? textStyle,
  4. EdgeInsetsGeometry? padding,
  5. dynamic onTranslateSuccess(
    1. String
    )?,
  6. dynamic onTranslateFailed()?,
  7. required String sourceText,
  8. required String targetLanguage,
  9. required List<String> groupAtUserList,
  10. required String localCustomData,
})

Implementation

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