SimpleImageCropper constructor

const SimpleImageCropper({
  1. required ImageProvider<Object> image,
  2. required double width,
  3. required double height,
  4. dynamic onRegionSelected(
    1. Region
    )?,
  5. GlobalKey<State<StatefulWidget>>? key,
  6. Color outerRectColor = Colors.white,
  7. Color innerRectColor = Colors.red,
  8. double outerRectStrokeWidth = 1.0,
  9. double innerRectStrokeWidth = 3.0,
  10. Color tlCornerBgColor = Colors.white,
  11. Color tlCornerFontColor = Colors.grey,
  12. Color brCornerBgColor = Colors.blue,
  13. 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);