fix: black screen after splash

This commit is contained in:
Alex
2024-12-06 14:04:37 +03:00
parent 6f03d279e9
commit 178060e85e
4 changed files with 5 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ import 'package:flutter_svg/flutter_svg.dart';
import 'package:image_picker/image_picker.dart';
import 'package:share_plus/share_plus.dart';
import 'package:url_launcher/url_launcher.dart';
import 'package:flutter_native_splash/flutter_native_splash.dart';
class ProfileScreen extends StatefulWidget {
final Author? author;
@@ -67,6 +68,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
@override
Widget build(BuildContext context) {
FlutterNativeSplash.remove();
return BlocProvider<PlansCubit>(
create: (BuildContext context) => plansCubit,
child: BlocBuilder<ProfileCubit, ProfileState>(