onSetLineWidth property
Callback function for setting the stroke width.
This function is called whenever the user selects a different stroke width, allowing the application to update the line thickness.
Implementation
final Function(double value) onSetLineWidth;