add cache for stocks

This commit is contained in:
Patrick Alvin Alcala 2025-03-24 11:50:39 +08:00
parent 92df0af895
commit de5a7c66a3
11 changed files with 134 additions and 3 deletions

View file

@ -5,6 +5,7 @@ import 'package:pharmacy_mobile/blocs/caches/categorylist/categorylist_cache_blo
import 'package:pharmacy_mobile/blocs/caches/genericlist/genericlist_cache_bloc.dart';
import 'package:pharmacy_mobile/blocs/caches/manufacturerlist/manufacturerlist_cache_bloc.dart';
import 'package:pharmacy_mobile/blocs/caches/medicinelist/medicinelist_cache_bloc.dart';
import 'package:pharmacy_mobile/blocs/caches/stocklist/stocklist_cache_bloc.dart';
import 'package:pharmacy_mobile/blocs/caches/typelist/typelist_cache_bloc.dart';
import 'package:pharmacy_mobile/blocs/guest/guest_bloc.dart';
import 'package:pharmacy_mobile/blocs/user/user_bloc.dart';
@ -144,6 +145,9 @@ class MyApp extends StatelessWidget {
BlocProvider(
create: (context) => MedicineListBloc(),
),
BlocProvider(
create: (context) => StockListBloc(),
),
],
child: MaterialApp.router(
debugShowCheckedModeBanner: false,