SimpleImageCropper constructor
const
SimpleImageCropper({
- required ImageProvider<
Object> image, - required double width,
- required double height,
- dynamic onRegionSelected()?,
- GlobalKey<
State< ? key,StatefulWidget> > - Color outerRectColor = Colors.white,
- Color innerRectColor = Colors.red,
- double outerRectStrokeWidth = 1.0,
- double innerRectStrokeWidth = 3.0,
- Color tlCornerBgColor = Colors.white,
- Color tlCornerFontColor = Colors.grey,
- Color brCornerBgColor = Colors.blue,
- Color brCornerFontColor = Colors.white,
Implementation
const SimpleImageCropper(
{required this.image,
required this.width,
required this.height,
this.onRegionSelected,
GlobalKey? key,
this.outerRectColor = Colors.white,
this.innerRectColor = Colors.red,
this.outerRectStrokeWidth = 1.0,
this.innerRectStrokeWidth = 3.0,
this.tlCornerBgColor = Colors.white,
this.tlCornerFontColor = Colors.grey,
this.brCornerBgColor = Colors.blue,
this.brCornerFontColor = Colors.white})
: super(key: key);