added functions module and functions and contacts screens, state and use cases

This commit is contained in:
2026-02-05 17:51:52 +01:00
parent 12edcd0940
commit 1cd18b002c
28 changed files with 1615 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
import 'package:auth/auth.dart';
import 'package:functions/functions.dart';
import 'package:legacy_dashboard_shell/legacy_dashboard_builder.dart';
import 'package:dashboard_shell/dashboard_builder.dart';
import 'package:flutter/material.dart';
@@ -40,8 +41,22 @@ void configureAppRouter() {
),
],
),
StatefulShellBranch(
routes: [
GoRoute(
path: AppRoutes.dashboardFunctions,
name: 'functions',
pageBuilder: FunctionsBuilder().buildPage,
),
],
),
],
),
GoRoute(
path: AppRoutes.contacts,
name: 'contacts',
pageBuilder: ContactsBuilder().buildPage,
),
GoRoute(
path: AppRoutes.login,

View File

@@ -53,6 +53,8 @@ dependencies:
path: ../../modules/legacy/modules/legacy_dashboard_shell
splash:
path: ../../modules/splash
functions:
path: ../../modules/legacy/modules/functions
#packages dependencies go here
navigation:
path: ../../packages/navigation