Skip to content

Instantly share code, notes, and snippets.

@NITIN-ME
Created June 30, 2020 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NITIN-ME/033af92ca5b57b0cb73d6c39ad815b0f to your computer and use it in GitHub Desktop.
Save NITIN-ME/033af92ca5b57b0cb73d6c39ad815b0f to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Party Invite',
theme: ThemeData(
primarySwatch: Colors.blue,
),
initialRoute: '/',
routes: {
'/': (context) => PartyInvite(),
'/invites': (context) => InvitePage(),
},
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment