Skip to content

Instantly share code, notes, and snippets.

@triyono777
Last active April 5, 2022 12:48
Show Gist options
  • Save triyono777/6ed515473dce0ed9cbe590f653f725f1 to your computer and use it in GitHub Desktop.
Save triyono777/6ed515473dce0ed9cbe590f653f725f1 to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
class WelcomeScreen extends StatelessWidget {
const WelcomeScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Column(
children: [
SizedBox(
height: 20,
),
Text('Welcome'),
Image.asset('images/undraw_Notebook_re_id0r.png'),
ElevatedButton(onPressed: () {}, child: Text('Sign In')),
SizedBox(
height: 20,
),
ElevatedButton(onPressed: () {}, child: Text('Sign Up')),
],
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment