Commit a41737ae by Ramesh Babu Puvvadi

added few changes

parent 03eaf7ea
...@@ -23,7 +23,6 @@ class SplashScreen extends StatefulWidget { ...@@ -23,7 +23,6 @@ class SplashScreen extends StatefulWidget {
@override @override
_SplashScreenState createState() => _SplashScreenState(); _SplashScreenState createState() => _SplashScreenState();
} }
class _SplashScreenState extends State<SplashScreen> { class _SplashScreenState extends State<SplashScreen> {
...@@ -43,16 +42,7 @@ class _SplashScreenState extends State<SplashScreen> { ...@@ -43,16 +42,7 @@ class _SplashScreenState extends State<SplashScreen> {
MaterialPageRoute( MaterialPageRoute(
builder: (context) => const Home( builder: (context) => const Home(
message: 'success', message: 'success',
) )));
)
);
// Navigator.pushAndRemoveUntil(
// context,
// MaterialPageRoute(builder: (context) => MyHomePage()),
// (Route<dynamic> route) => false,
// );
} else { } else {
//print('else condition :${isLoggedIn}'); //print('else condition :${isLoggedIn}');
Navigator.pushAndRemoveUntil( Navigator.pushAndRemoveUntil(
......
...@@ -124,7 +124,7 @@ class RemoteData { ...@@ -124,7 +124,7 @@ class RemoteData {
// } // }
// } // }
Future<String?> EmpUploadVideo( Future<String?> empuploadVideo(
File imagepath, String filename, String storename) async { File imagepath, String filename, String storename) async {
try { try {
//final request = http.MultipartRequest( 'POST', Uri.parse('https://plutokm.com/grc_capture_image2.php?barcode=$barcode&boothno=$no&updatesiblings=$siblings')); //final request = http.MultipartRequest( 'POST', Uri.parse('https://plutokm.com/grc_capture_image2.php?barcode=$barcode&boothno=$no&updatesiblings=$siblings'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment