DEV Community

Cover image for Flutter Login and Sing Up form
Lahiru Udawaththa
Lahiru Udawaththa

Posted on

Flutter Login and Sing Up form

Alt Text

//Coding Start

import 'package:flutter/material.dart';
import 'package:signup_ui/Screens/HomeScreen.dart';
import 'Screens/SignInScreen.dart';
import 'Screens/SignUPScreen.dart';

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

class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Sign Up Screen ',
debugShowCheckedModeBanner: false,
theme: ThemeData(
primarySwatch: Colors.indigo,
),
initialRoute: 'SignIn',
routes: {
'SignIn':(context)=>SignInScreen(),
'SignUp':(context)=>SignUpScreen(),
'Home':(context)=>HomeScreen(),
},
);
}
}

//Coding end

Top comments (0)