DocumentscopyWidget constructor

const DocumentscopyWidget({
  1. Key? key,
  2. required String appKey,
  3. required String ticket,
  4. required Environment environment,
  5. required bool showFeedback,
  6. ThemeBuilder? themeBuilder,
  7. required dynamic onSuccess(
    1. DocCoreSuccessResult result
    ),
  8. required dynamic onError(
    1. Object? error
    ),
  9. Widget? instructionWidget,
  10. Widget? permissionWidget,
})

Implementation

const DocumentscopyWidget({
  Key? key,
  required this.appKey,
  required this.ticket,
  required this.environment,
  required this.showFeedback,
  this.themeBuilder,
  required this.onSuccess,
  required this.onError,
  this.instructionWidget,
  this.permissionWidget,
}) : super(key: key);