Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:flutter/material.dart';
- class MyApp extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return MaterialApp(
- home: Scaffold(
- body: Center(
- child: SizedBox(
- width: 100,
- height: 100,
- child: Material(
- color: Colors.blue,
- borderRadius: BorderRadius.circular(10.0)
- ),
- ),
- ),
- ),
- );
- }
- }
- void main() {
- runApp(MyApp());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement