added flutter icons files and intl packages

This commit is contained in:
AlcalaJulian
2025-11-24 12:55:20 +01:00
parent 4225f7510b
commit d381908ff1
45 changed files with 1679 additions and 18 deletions

View File

@@ -3,13 +3,12 @@ import 'package:dashboard_shell/src/presentation/main_shell_view_state.dart';
import 'package:design_system/design_system.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_riverpod/legacy.dart';
import 'package:go_router/go_router.dart';
import 'package:navigation/navigation.dart';
final mainShellViewModelProvider =
StateNotifierProvider.autoDispose<MainShellViewModel, MainShellViewState>(
(ref) => MainShellViewModel(ref: ref),
NotifierProvider.autoDispose<MainShellViewModel, MainShellViewState>(
() => MainShellViewModel(),
);
class DashboardScreen extends ConsumerWidget {

View File

@@ -1,11 +1,11 @@
import 'package:dashboard_shell/src/presentation/main_shell_view_state.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_riverpod/legacy.dart';
class MainShellViewModel extends StateNotifier<MainShellViewState> {
MainShellViewModel({required this.ref}) : super(MainShellViewState());
final Ref ref;
class MainShellViewModel extends Notifier<MainShellViewState> {
@override
MainShellViewState build() {
return MainShellViewState();
}
void onTabChanged(int index) {
state = state.copyWith(selectedIndex: index);

View File

@@ -1,4 +1,4 @@
# melos_managed_dependency_overrides: auth,design_system,home,notifications,profile,sf_shared,navigation
# melos_managed_dependency_overrides: auth,design_system,home,notifications,profile,sf_shared,navigation,utils
dependency_overrides:
auth:
path: ../auth
@@ -14,3 +14,5 @@ dependency_overrides:
path: ../profile
sf_shared:
path: ../../packages/sf_shared
utils:
path: ../../packages/utils