GenUiFuzzHost typedef

GenUiFuzzHost = Widget Function(Widget surface)

Puts a rendered surface inside the app it is drawn in, for genUiFuzz.

Components often lean on what their app provides: a ThemeExtension the app's theme carries, localizations, an inherited service. Drawn without those ancestors, every component fails on the same missing ancestor, and the run reports that instead of anything the schema allows.

Implementation

typedef GenUiFuzzHost = Widget Function(Widget surface);