buildDashboardWidget abstract method
Widget?
buildDashboardWidget({
- required BuildContext context,
- VoidCallback? onExit,
- void onOpenApp()?,
Dashboard rendering entry point. Returns null when the
DSL declares no dashboard block — the host should fall back to a
default card derived from metadata. The returned
widget hosts only the dashboard.content subtree and re-evaluates
bindings on dashboard.refreshInterval.
onOpenApp is invoked for DSL navigation:openApp actions
fired from within the dashboard subtree — hosts use this
to transition the launcher to the full application view.
Implementation
Widget? buildDashboardWidget({
required BuildContext context,
VoidCallback? onExit,
void Function(String? appId, String? route)? onOpenApp,
});