mirrored_repositories/form-validation-app
import 'package:flutter/material.dart';
import 'package:form_validation_app/src/bloc/provider.dart';
import 'package:form_validation_app/src/pages/home_page.dart';
import 'package:form_validation_app/src/pages/login_page.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Provider(
        child: MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Material App',
      initialRoute: 'login',
      routes: {
        'login': (BuildContext context) => LoginPage(),
        'home': (BuildContext context) => HomePage(),
      },
    ));
  }
}
