[dart] main
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
- import 'package:flutter/material.dart';
- import 'package:flutter_contact_app/splash_screen.dart';
- import 'package:flutter_contact_app/add_form.dart';
- import 'package:flutter_contact_app/home_screen.dart';
- void main() {
- runApp(MyApp());
- }
- class MyApp extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return MaterialApp(
- debugShowCheckedModeBanner: false,
- initialRoute: '/splash',
- routes: {
- '/splash': (context) => SplashScreen(),
- '/home': (context) => HomeScreen(),
- '/addForm': (context) => AddForm(),
- },
- );
- }
- }
Editor
You can edit this paste and save as new: