Created
February 3, 2024 19:25
-
-
Save fredgrott/a33459f13613735a6274ec8c4cd6b7db to your computer and use it in GitHub Desktop.
main
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:asp/asp.dart'; | |
import 'package:flutter/material.dart'; | |
import 'pages/counter_page.dart'; | |
void main() { | |
runApp(const RxRoot(child: MyApp())); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
debugShowCheckedModeBanner: false, | |
title: 'Flutter Demo', | |
theme: ThemeData( | |
primarySwatch: Colors.blue, | |
), | |
// home: MyHomePage(title: 'Flutter Demo Home Page'), | |
home: const CounterPage(), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment