TsCameraView constructor

TsCameraView({
  1. Key? key,
  2. required GetDetectedText onGetDetectedText,
  3. required GetTranslatedText onGetTranslatedText,
  4. required String languageCode,
  5. CameraLensDirection initialDirection = CameraLensDirection.back,
})

Implementation

TsCameraView(
    {Key? key,
    required this.onGetDetectedText,
    required this.onGetTranslatedText,
    required this.languageCode,
    this.initialDirection = CameraLensDirection.back})
    : super(key: key);