The callback that will be called when the user drags the resizer.
final void Function(double) onResize;