CropRenderObjectWidget constructor

const CropRenderObjectWidget({
  1. required Widget child,
  2. required double aspectRatio,
  3. required BoxShape shape,
  4. Key? key,
  5. Color backgroundColor = Colors.black,
  6. Color dimColor = const Color.fromRGBO(0, 0, 0, 0.8),
})

Implementation

const CropRenderObjectWidget({
  required Widget child,
  required this.aspectRatio,
  required this.shape,
  Key? key,
  this.backgroundColor = Colors.black,
  this.dimColor = const Color.fromRGBO(0, 0, 0, 0.8),
}) : super(key: key, child: child);