remove unused code

This commit is contained in:
Neeraj Gupta 2022-06-13 20:46:29 +05:30
parent 3a8f9047c4
commit 67612f0031
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -1,8 +1,6 @@
import 'package:email_validator/email_validator.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:photos/core/configuration.dart';
import 'package:photos/services/user_service.dart';
import 'package:photos/ui/common/dynamicFAB.dart';
@ -201,25 +199,6 @@ class _LoginPageState extends State<LoginPage> {
),
),
Padding(padding: EdgeInsets.all(8)),
// Container(
// width: double.infinity,
// height: 64,
// padding: const EdgeInsets.fromLTRB(80, 0, 80, 0),
// child: ElevatedButton(
// child: Text("log in"),
// onPressed: _email != null && _email.isNotEmpty
// ? () {
// if (!isValidEmail(_email)) {
// showErrorDialog(context, "invalid email address",
// "please enter a valid email address.");
// return;
// }
// _config.setEmail(_email);
// UserService.instance.getOtt(context, _email);
// }
// : null,
// ),
// ),
],
);
}