hudWidget property

(Widget Function()?) hudWidget
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()? hudWidget;