CropImageView constructor

const CropImageView({
  1. Key? key,
  2. required CropImageViewController controller,
  3. double minWidth = 50,
  4. double minHeight = 50,
  5. Color borderColor = Colors.white70,
  6. Color threeLineColor = Colors.white70,
  7. Color cornerColor = Colors.white70,
  8. double? ratio,
  9. double initScale = 0.9,
  10. Color scrimColor = Colors.black54,
  11. bool cornerShow = true,
  12. double cornerLength = 15,
  13. double cornerWidth = 3,
  14. double borderWidth = 1,
  15. bool borderShow = true,
  16. double threeLineWidth = 1,
  17. bool threeLineShow = true,
  18. Widget? loading,
})

Implementation

const CropImageView({
  super.key,
  required this.controller,
  this.minWidth = 50,
  this.minHeight = 50,
  this.borderColor = Colors.white70,
  this.threeLineColor = Colors.white70,
  this.cornerColor = Colors.white70,
  this.ratio,
  this.initScale = 0.9,
  this.scrimColor = Colors.black54,
  this.cornerShow = true,
  this.cornerLength = 15,
  this.cornerWidth = 3,
  this.borderWidth = 1,
  this.borderShow = true,
  this.threeLineWidth = 1,
  this.threeLineShow = true,
  this.loading,
});