# ScanbotCroppingWidget constructor

ScanbotCroppingWidget({

1. Key? key,
2. required Page page,
3. required dynamic onViewReady(
   1. CroppingController
   ),
4. Color anchorPointsColor = Colors.red,
5. Color edgeColor = Colors.white,
6. Color edgeColorOnLine = Colors.green,
7. double edgeLineWidth = 5,
8. dynamic onHeavyOperationProcessing(
   1. bool
   )?,
9. Insets? borderInsets,
10. int widgetFadeAnimationDurationiOS = 350,

})

## 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,
        this.widgetFadeAnimationDurationiOS = 350})
        : super(key: key);