CropImageView constructor
const
CropImageView({
- Key? key,
- required CropImageViewController controller,
- double minWidth = 50,
- double minHeight = 50,
- Color borderColor = Colors.white70,
- Color threeLineColor = Colors.white70,
- Color cornerColor = Colors.white70,
- double? ratio,
- double initScale = 0.9,
- Color scrimColor = Colors.black54,
- bool cornerShow = true,
- double cornerLength = 15,
- double cornerWidth = 3,
- double borderWidth = 1,
- bool borderShow = true,
- double threeLineWidth = 1,
- bool threeLineShow = true,
- 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,
});