Remove unused widget
This commit is contained in:
parent
d051b1ab27
commit
cb12bd4efd
1 changed files with 0 additions and 28 deletions
|
@ -18,7 +18,6 @@ class LoginForm extends StatefulWidget {
|
|||
class LoginFormState extends State<LoginForm> {
|
||||
TextEditingController emailController = TextEditingController();
|
||||
TextEditingController passwordController = TextEditingController();
|
||||
bool _rememberMe = false;
|
||||
|
||||
Future submitForm(BuildContext context) async {
|
||||
if (emailController.text.isEmpty || passwordController.text.isEmpty) {
|
||||
|
@ -123,33 +122,6 @@ class LoginFormState extends State<LoginForm> {
|
|||
));
|
||||
}
|
||||
|
||||
Widget _buildRememberMeCheckBox() {
|
||||
return SizedBox(
|
||||
height: 13.0,
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
Theme(
|
||||
data: ThemeData(unselectedWidgetColor: Colors.white),
|
||||
child: Checkbox(
|
||||
value: _rememberMe,
|
||||
checkColor: Colors.green,
|
||||
activeColor: Colors.white,
|
||||
onChanged: (value) {
|
||||
setState(() {
|
||||
_rememberMe = value!;
|
||||
});
|
||||
},
|
||||
),
|
||||
),
|
||||
const Text(
|
||||
'Remember me',
|
||||
style: kLabelStyle,
|
||||
)
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildLoginBtn() {
|
||||
return Container(
|
||||
padding: const EdgeInsets.symmetric(vertical: 25.0),
|
||||
|
|
Loading…
Add table
Reference in a new issue