IDCameraWidget constructor
const
IDCameraWidget({
- Key? key,
- required CameraDescription camera,
- MaskType maskType = MaskType.idCard,
- required ValueChanged<
XFile?> onResult, - String title = 'This is title',
- String firstDescription = 'This is first description',
- String secondDescription = 'This is second description',
- String questionToConfirmUseByTakenPhoto = 'This is question to confirm use by taken photo',
- String rejectText = 'Captures',
- String confirmText = 'Using this photo',
Implementation
const IDCameraWidget({
Key? key,
required this.camera,
this.maskType = MaskType.idCard,
required this.onResult,
this.title = 'This is title',
this.firstDescription = 'This is first description',
this.secondDescription = 'This is second description',
this.questionToConfirmUseByTakenPhoto =
'This is question to confirm use by taken photo',
this.rejectText = 'Captures',
this.confirmText = 'Using this photo',
}) : super(key: key);