Juan Marulanda De Los Rios 1 сар өмнө
parent
commit
66d3746491
1 өөрчлөгдсөн 4 нэмэгдсэн , 2 устгасан
  1. 4 2
      lib/main.dart

+ 4 - 2
lib/main.dart

@@ -1,9 +1,11 @@
 import 'package:crab_ui/contact.dart';
 import 'package:flutter/material.dart';
 import 'home_page.dart';
-import 'email.dart';
+import 'api_service.dart';
+import 'dart:html' as html;
 
 void main() {
+  WidgetsFlutterBinding.ensureInitialized();
   runApp(const HyM());
 }
 
@@ -14,7 +16,7 @@ class HyM extends StatelessWidget {
   Widget build(BuildContext context) {
     return MaterialApp(
       debugShowCheckedModeBanner: false,
-      theme: ThemeData.dark(),
+      theme: ThemeData.light(),
       title: 'HyM',
       home: HomeScreen(),
       routes: {