[dart] a

Viewer

  1. import 'package:flutter/material.dart';
  2. import 'package:ocw/add_form.dart';
  3. import 'package:ocw/splash_screen.dart';
  4.  
  5. void main() {
  6.   runApp(MyApp());
  7. }
  8.  
  9. class MyApp extends StatelessWidget {
  10.   @override
  11.   Widget build(BuildContext context) {
  12.     return MaterialApp(
  13.       debugShowCheckedModeBanner: false,
  14.       home: SplashScreen(),
  15.       routes: {
  16.         '/addForm': (context) => AddForm(),
  17.       },
  18.     );
  19.   }
  20. }
  21.  

Editor

You can edit this paste and save as new:


File Description
  • a
  • Paste Code
  • 10 Dec-2023
  • 438 Bytes
You can Share it: