Created
April 8, 2022 11:21
-
-
Save triyono777/7959e99fb34c325cde558646664b365c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
class LoginScreen extends StatefulWidget { | |
const LoginScreen({Key? key}) : super(key: key); | |
@override | |
State<LoginScreen> createState() => _LoginScreenState(); | |
} | |
class _LoginScreenState extends State<LoginScreen> { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
backgroundColor: Colors.white, | |
body: Column( | |
children: [ | |
SizedBox( | |
height: 20, | |
), | |
Text('Login',style: TextStyle(fontWeight: FontWeight.bold,fontSize: 30)), | |
Image.asset( | |
'images/undraw_new_ideas_jdea.png', | |
height: 500, | |
), | |
SizedBox( | |
width: 300, | |
child: ElevatedButton( | |
style: ElevatedButton.styleFrom( | |
shape: RoundedRectangleBorder( | |
borderRadius: BorderRadius.circular(30), | |
), | |
), | |
onPressed: () {}, | |
child: Text('Sign In')), | |
), | |
], | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment