Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. return Scaffold(
  2. body: Center(
  3. child: Column(
  4. mainAxisSize: MainAxisSize.min,
  5. crossAxisAlignment: CrossAxisAlignment.center,
  6. mainAxisAlignment: MainAxisAlignment.center,
  7. children: <Widget>[
  8. Image.asset('assets/flutter.png', width: 100, height: 100),
  9. SizedBox(height: 40),
  10. Text(
  11. 'Flutter chat',
  12. style: TextStyle(fontSize: 40, fontWeight: FontWeight.bold),
  13. ),
  14. SizedBox(height: 40),
  15. Row(
  16. mainAxisSize: MainAxisSize.min,
  17. mainAxisAlignment: MainAxisAlignment.center,
  18. children: <Widget>[
  19. RaisedButton(
  20. onPressed: _navigateToLoginScreen,
  21. color: Colors.blue,
  22. padding: EdgeInsets.symmetric(vertical: 10),
  23. child: Text(
  24. 'LOGIN',
  25. style: TextStyle(color: Colors.white, fontSize: 20),
  26. ),
  27. ),
  28. SizedBox(width: 20),
  29. RaisedButton(
  30. color: Colors.blue,
  31. padding: EdgeInsets.symmetric(vertical: 10),
  32. onPressed: _navigateToSignUp,
  33. child: Text(
  34. 'SIGN UP',
  35. style: TextStyle(color: Colors.white, fontSize: 20),
  36. ),
  37. )
  38. ],
  39. ),
  40. ],
  41. ),
  42. ),
  43. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement