strokeColor property
Color applied to the signature stroke.
Default strokeColor will change based on the theme.
The default stroke color for the dark theme is Colors.white
and the
default color for the light theme is Colors.black
.
This snippet shows how to set the stroke color for SfSignaturePad.
SfSignaturePad(
strokeColor: Colors.green,
);
Implementation
final Color? strokeColor;