Updated pages
This commit is contained in:
parent
794edf902a
commit
809cf7aa5f
3 changed files with 17 additions and 11 deletions
|
|
@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:flutter_dotenv/flutter_dotenv.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:ocbo_esign_mobile/blocs/qr/qr_bloc.dart';
|
||||
import 'package:ocbo_esign_mobile/blocs/user/user_bloc.dart';
|
||||
import 'package:ocbo_esign_mobile/pages/approval_page.dart';
|
||||
import 'package:ocbo_esign_mobile/pages/index_page.dart';
|
||||
|
|
@ -75,7 +76,10 @@ class MyApp extends StatelessWidget {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MultiBlocProvider(
|
||||
providers: [BlocProvider(create: (context) => UserBloc())],
|
||||
providers: [
|
||||
BlocProvider(create: (context) => UserBloc()),
|
||||
BlocProvider(create: (context) => QrBloc()),
|
||||
],
|
||||
child: MaterialApp.router(
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: ThemeData(useMaterial3: true),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue