pumpFleuryHome method

void pumpFleuryHome(
  1. Widget widget
)

Like pumpWidget, but mounts widget as the home of Fleury's standard FleuryApp shell. Use this for app-level tests so navigation, commands, status, and other app-owned scopes match the canonical production shape; use bare pumpWidget for widget-level tests or to exercise a custom shell. Runtime hosts mount either shape exactly as supplied.

Plain composition over pumpWidget — nothing latches: a later pumpFleuryHome REPLACES the whole app with a fresh shell and route stack, and a later pumpWidget mounts its widget bare.

Implementation

void pumpFleuryHome(Widget widget) {
  _assertNotDisposed('pumpFleuryHome');
  pumpWidget(
    FleuryApp(key: UniqueKey(), title: 'Fleury test app', home: widget),
  );
}