ScanbotCroppingWidget constructor
ScanbotCroppingWidget(- {Key? key,
- required Page page,
- required dynamic onViewReady(
- CroppingController
),
- Color anchorPointsColor = Colors.red,
- Color edgeColor = Colors.white,
- Color edgeColorOnLine = Colors.green,
- double edgeLineWidth = 5,
- dynamic onHeavyOperationProcessing(
- bool
)?,
- Insets? borderInsets}
)
Implementation
ScanbotCroppingWidget({
Key? key,
required this.page,
required this.onViewReady,
this.anchorPointsColor = Colors.red,
this.edgeColor = Colors.white,
this.edgeColorOnLine = Colors.green,
this.edgeLineWidth = 5,
this.onHeavyOperationProcessing,
this.borderInsets,
}) : super(key: key);