Update Dashboard widget to fix DashBot overlay positioning with Stack

This commit is contained in:
siddu015
2025-03-23 22:34:15 +05:30
parent 225c984807
commit 1c0af6ebda

View File

@@ -18,7 +18,6 @@ class Dashboard extends ConsumerWidget {
Widget build(BuildContext context, WidgetRef ref) {
final railIdx = ref.watch(navRailIndexStateProvider);
final isDashBotVisible = ref.watch(dashBotVisibilityProvider);
return Scaffold(
body: SafeArea(
child: Stack(
@@ -139,7 +138,7 @@ class Dashboard extends ConsumerWidget {
],
),
),
// Conditionally show FAB only when DashBot is not visible
// TODO: Release DashBot
floatingActionButton: !isDashBotVisible ? const DashBotFAB() : null,
);
}