mirrored_repositories/Flutter-for-beginners/66-global-state
import 'package:flutter/material.dart';
import './screens/home.dart';
import './screens/second.dart';


void main() => runApp(   MyApp());

class MyApp extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return    MaterialApp(
      title: 'Navigation',
      routes: <String, WidgetBuilder>{
        //All available pages
        '/Home': (BuildContext contrext) =>    Home(),
        '/Second': (BuildContext contrext) =>    Second(),
      },
      home:    Home(), //first page displayed
    );
  }
}