Created
April 9, 2022 08:55
-
-
Save triyono777/763c9a335a57dcbdde4435fbf8a2d07e to your computer and use it in GitHub Desktop.
This file contains hidden or 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/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
class LoginScreen extends StatelessWidget { | |
const LoginScreen({Key? key}) : super(key: key); | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
body: Column( | |
children: [ | |
Text('Welcome ',style: TextStyle(fontWeight: FontWeight.bold,fontSize: 30),), | |
Image.asset('images/idea.png'), | |
SizedBox( | |
width: 200, | |
height: 50, | |
child: ElevatedButton( | |
onPressed: () {}, | |
style: ElevatedButton.styleFrom( | |
shape: RoundedRectangleBorder( | |
borderRadius: BorderRadius.circular(30), | |
), | |
), | |
child: Text('Login'), | |
), | |
), | |
SizedBox( | |
height: 20, | |
), | |
SizedBox( | |
width: 200, | |
height: 50, | |
child: ElevatedButton( | |
onPressed: () {}, | |
style: ElevatedButton.styleFrom( | |
primary: Colors.grey, | |
shape: RoundedRectangleBorder( | |
borderRadius: BorderRadius.circular(30), | |
), | |
), | |
child: Text('Signup'), | |
), | |
), | |
], | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment