Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. import 'package:flutter/material.dart';
  2.  
  3. class MyApp extends StatelessWidget {
  4. @override
  5. Widget build(BuildContext context) {
  6. return MaterialApp(
  7. home: Scaffold(
  8. body: Center(
  9. child: SizedBox(
  10. width: 100,
  11. height: 100,
  12. child: Material(
  13. color: Colors.blue,
  14. borderRadius: BorderRadius.circular(10.0)
  15. ),
  16. ),
  17. ),
  18. ),
  19. );
  20. }
  21. }
  22.  
  23. void main() {
  24. runApp(MyApp());
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement