mirrored_repositories/MyFlutterLearn/tab
import 'package:flutter/material.dart';

class Tab1 extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    print('build Tab1');
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: Text(
            'This is content of Tab1',
            style: TextStyle(fontSize: 30),
          ),
        ),
        backgroundColor: Colors.purple,
      ),
      theme: ThemeData(
        textTheme: TextTheme(bodyText2: TextStyle(color: Colors.white)),
      ),
    );

  }
}