backgroundColor property Null safety

Color? backgroundColor
final

Color applied to the background of SfSignaturePad.

The default backgroundColor is Colors.transparent.

This snippet shows how to set a background color for SfSignaturePad.

SfSignaturePad(
  backgroundColor: Colors.white,
 );

Implementation

final Color? backgroundColor;