HeightLightMaskView constructor

const HeightLightMaskView({
  1. Key? key,
  2. required Size maskViewSize,
  3. required Color backgroundColor,
  4. required Color color,
  5. RRect? rRect,
  6. PathBuilder? pathBuilder,
  7. OnDraw? drawAfter,
  8. ShouldRePaintDelegate? rePaintDelegate,
})

Implementation

const HeightLightMaskView({
  Key? key,
  required this.maskViewSize,
  required this.backgroundColor,
  required this.color,
  this.rRect,
  this.pathBuilder,
  this.drawAfter,
  this.rePaintDelegate,
})  : assert(rRect != null || pathBuilder != null),
      super(key: key);