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

@@ -18,6 +18,7 @@ import 'package:validators/validators.dart';
import 'bloc/auth_bloc.dart';
import 'models/auth_model.dart';
import 'package:flutter_native_splash/flutter_native_splash.dart';
class AuthScreen extends StatefulWidget {
static Widget builder(BuildContext context) {
@@ -43,6 +44,7 @@ class _AuthScreenState extends State<AuthScreen> {
@override
Widget build(BuildContext context) {
FlutterNativeSplash.remove();
final s = S.of(context);
return Scaffold(
appBar: AppBar(