refreshDelay property
The delay after the pen stroke is finished before the screen is refreshed.
Setting this too low will cause the screen to refresh while the user is still writing, which will make the screen get stuck in a half-drawn state.
Implementation
final Duration refreshDelay;