customers
This commit is contained in:
@@ -5,7 +5,13 @@ import 'package:flux/core/theme/theme.dart';
|
||||
|
||||
class DashboardContent extends StatelessWidget {
|
||||
final bool isLargeScreen;
|
||||
const DashboardContent({super.key, this.isLargeScreen = false});
|
||||
final Function(int)? onTabRequested;
|
||||
|
||||
const DashboardContent({
|
||||
super.key,
|
||||
this.isLargeScreen = false,
|
||||
this.onTabRequested,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -109,7 +115,7 @@ class DashboardContent extends StatelessWidget {
|
||||
label: 'Clienti',
|
||||
icon: Icons.people,
|
||||
color: Colors.orange,
|
||||
onTap: () {},
|
||||
onTap: () => onTabRequested?.call(1),
|
||||
),
|
||||
_ActionCard(
|
||||
label: 'Campagne',
|
||||
|
||||
Reference in New Issue
Block a user