diff --git a/packages/neon/neon_dashboard/lib/src/pages/main.dart b/packages/neon/neon_dashboard/lib/src/pages/main.dart index 2a19b6ad..1cc456c1 100644 --- a/packages/neon/neon_dashboard/lib/src/pages/main.dart +++ b/packages/neon/neon_dashboard/lib/src/pages/main.dart @@ -38,6 +38,7 @@ class DashboardMainPage extends StatelessWidget { return Center( child: NeonListView.custom( + scrollKey: 'dashboard', isLoading: snapshot.isLoading, error: snapshot.error, onRefresh: bloc.refresh, diff --git a/packages/neon/neon_dashboard/lib/src/widgets/widget.dart b/packages/neon/neon_dashboard/lib/src/widgets/widget.dart index 7e09e20b..4c3844bc 100644 --- a/packages/neon/neon_dashboard/lib/src/widgets/widget.dart +++ b/packages/neon/neon_dashboard/lib/src/widgets/widget.dart @@ -36,6 +36,7 @@ class DashboardWidget extends StatelessWidget { borderRadius: const BorderRadius.all(Radius.circular(12)), child: ListView( padding: const EdgeInsets.all(8), + key: PageStorageKey('dashboard-${widget.id}'), children: [ ListTile( title: Text(