hudWidget property
final
This is an alternative to the hud attribute. This is a callback that lets you generate a Widget using the various providers used. This gives you additional context in case the HUD is context aware.
Implementation
final Widget Function(T1 value1, T2 value2)? hudWidget;