mirrored_repositories/Flutter-for-beginners/60-widgets-within-widgets
import 'package:flutter/material.dart';
import 'TimeCounter.dart';

void main() {
  runApp(MaterialApp(
    home: MyApp(),
  ));
}

class MyApp extends StatefulWidget {
  @override
  _State createState() => _State();
}

class _State extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Name here'),
      ),
      body: Container(
          padding: EdgeInsets.all(32.0),
          child: Center(
            child: Column(
              children: <Widget>[Text('My Stop Watch'), TimeCounter()],
            ),
          )),
    );
  }
}
