import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: "TextWidget", home: Scaffold( appBar: AppBar( title: Text("TextWidget"), ), body: Center( child: Container( child: Text( "hello cookie", style: TextStyle( fontSize: 30.0, ), ), alignment: Alignment.center, width: 200.0, height: 100.0, color: Colors.amberAccent, ), ), )); } }