Refactor service management: streamline service form, enhance state management, and improve loading logic
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flux/core/theme/theme.dart';
|
||||
import 'package:flux/features/home/ui/dashboard_action_card.dart';
|
||||
import 'package:flux/features/services/utils/service_actions.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
|
||||
class DashboardAdaptiveGrid extends StatelessWidget {
|
||||
@@ -36,7 +37,7 @@ class DashboardAdaptiveGrid extends StatelessWidget {
|
||||
label: 'Nuova Op',
|
||||
icon: Icons.add_task,
|
||||
color: context.accent,
|
||||
onTap: () {},
|
||||
onTap: () => startNewService(context),
|
||||
),
|
||||
DashboardActionCard(
|
||||
label: 'Clienti',
|
||||
|
||||
Reference in New Issue
Block a user