CropGridStyle constructor

CropGridStyle({
  1. Color? croppingBackground,
  2. Color background = Colors.black,
  3. Color gridLineColor = Colors.white,
  4. double gridLineWidth = 1,
  5. int gridSize = 3,
  6. Color boundariesColor = Colors.white,
  7. double boundariesLength = 20,
  8. double boundariesWidth = 5,
})

Style for CropGridViewer. It's use on VideoEditorController

Implementation

CropGridStyle({
  Color? croppingBackground,
  this.background = Colors.black,
  this.gridLineColor = Colors.white,
  this.gridLineWidth = 1,
  this.gridSize = 3,
  this.boundariesColor = Colors.white,
  this.boundariesLength = 20,
  this.boundariesWidth = 5,
}) : croppingBackground =
          croppingBackground ?? Colors.black.withOpacity(0.48);