a
This commit is contained in:
@@ -40,6 +40,7 @@ import 'package:flux/features/tickets/blocs/ticket_list_cubit.dart';
|
||||
import 'package:flux/features/tickets/models/ticket_model.dart';
|
||||
import 'package:flux/features/tickets/ui/ticket_form_screen.dart';
|
||||
import 'package:flux/features/tickets/ui/ticket_list_screen.dart';
|
||||
import 'package:flux/features/tracking/blocs/tracking_cubit.dart';
|
||||
import 'package:get_it/get_it.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
|
||||
@@ -234,6 +235,14 @@ class AppRouter {
|
||||
),
|
||||
),
|
||||
BlocProvider(create: (context) => TicketFormCubit()),
|
||||
BlocProvider(
|
||||
create: (context) => TrackingCubit(
|
||||
repo: repo,
|
||||
parentId: parentId,
|
||||
parentType: parentType,
|
||||
companyId: companyId,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
child: TicketFormScreen(
|
||||
|
||||
Reference in New Issue
Block a user