feat: Refactor code structure and optimize performance across multiple modules
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import 'package:auto_route/auto_route.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:krow/features/profile/domain/bloc/personal_info_bloc.dart';
|
||||
|
||||
@RoutePage()
|
||||
class ProfileFlowScreen extends StatelessWidget {
|
||||
const ProfileFlowScreen({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return BlocProvider(
|
||||
create: (BuildContext context) =>
|
||||
PersonalInfoBloc()..add(InitializeProfileInfoEvent()),
|
||||
child: const AutoRouter(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user