Basic Functions done
This commit is contained in:
@@ -2,7 +2,9 @@ import 'package:flutter/material.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
import 'User.dart' as Users;
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:sn_progress_dialog/sn_progress_dialog.dart';
|
||||
|
||||
late ProgressDialog progressDialog;
|
||||
class SplashScreen extends StatefulWidget {
|
||||
const SplashScreen({Key? key}) : super(key: key);
|
||||
|
||||
@@ -15,6 +17,8 @@ class _SplashScreenState extends State<SplashScreen> {
|
||||
void initState() {
|
||||
// TODO: implement initState
|
||||
super.initState();
|
||||
progressDialog = ProgressDialog(context: context);
|
||||
Users.progressDialog=progressDialog;
|
||||
init();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user