ScanbotCroppingWidget constructor
ScanbotCroppingWidget({ - Key? key,
- required ImageRef documentImage,
- required dynamic onViewReady(
- CroppingController
),
- Color anchorPointsColor = Colors.red,
- Color edgeColor = Colors.white,
- Color edgeColorOnLine = Colors.green,
- double edgeLineWidth = 5,
- dynamic onHeavyOperationProcessing(
- bool
)?,
- dynamic onError(
- SBException error
)?,
- Insets? borderInsets,
- int widgetFadeAnimationDurationiOS = 350,
})
Implementation
ScanbotCroppingWidget(
{Key? key,
required this.documentImage,
required this.onViewReady,
this.anchorPointsColor = Colors.red,
this.edgeColor = Colors.white,
this.edgeColorOnLine = Colors.green,
this.edgeLineWidth = 5,
this.onHeavyOperationProcessing,
this.onError,
this.borderInsets,
this.widgetFadeAnimationDurationiOS = 350})
: super(key: key);