DrawableSignaturePainter constructor Null safety

DrawableSignaturePainter(
  1. {required DrawableParent drawable,
  2. Color? color,
  3. double strokeWidth(
    1. double? width
    )?}
)

Implementation

DrawableSignaturePainter({
  required this.drawable,
  this.color,
  this.strokeWidth,
}) : assert(drawable != null);