import 'package:flutter/material.dart'; class TestPage extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: "Test", home: Scaffold( appBar: AppBar( title: Text("Test"), ), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Text("hello"), Text("world") ], ), ), // body: Container( // margin: const EdgeInsets.all(10.0), // width: 80.0, // height: 80.0, // decoration: BoxDecoration( // shape: BoxShape.circle, // color: Colors.blue, // image: DecorationImage( // image: ExactAssetImage('./images/ic_test.png'), // fit: BoxFit.cover // ), // border: Border.all( // color: Colors.white, // width: 2.0, // ), // ), // ), ), ); } }