onSize property
Optional callback that is invoked when the canvas size changes.
TODO: This callback should ideally be handled within the State of this widget or by the HandSignatureControl itself, rather than being exposed here.
Implementation
final bool Function(Size size)? onSize;