Skip to content

Commit

Permalink
chore: push error fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
SeoHyeonSim committed Feb 5, 2025
1 parent baebda5 commit 24833dd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 32 deletions.
62 changes: 31 additions & 31 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,33 +1,11 @@
import 'package:flutter/material.dart';
import 'package:on_time_front/core/di/di_setup.dart';
import 'package:on_time_front/presentation/shared/router/go_router.dart';
import 'package:on_time_front/presentation/shared/theme/theme.dart';

void main() async {
configureDependencies();
runApp(MyApp());
WidgetsFlutterBinding.ensureInitialized();
}

class MyApp extends StatelessWidget {
const MyApp({super.key});

@override
Widget build(BuildContext context) {
return MaterialApp.router(
routerConfig: goRouterConfig,
theme: themeData,
);
}
}

// import 'package:flutter/material.dart';
// import 'package:flutter_riverpod/flutter_riverpod.dart';
// import 'package:on_time_front/presentation/preparation/screens/schedule_list_screen.dart';
// import 'package:on_time_front/core/di/di_setup.dart';
// import 'package:on_time_front/presentation/shared/router/go_router.dart';
// import 'package:on_time_front/presentation/shared/theme/theme.dart';

// void main() async {
// runApp(const ProviderScope(child: MyApp()));
// configureDependencies();
// runApp(MyApp());
// WidgetsFlutterBinding.ensureInitialized();
// }

Expand All @@ -36,12 +14,34 @@ class MyApp extends StatelessWidget {

// @override
// Widget build(BuildContext context) {
// return MaterialApp(
// return MaterialApp.router(
// routerConfig: goRouterConfig,
// theme: themeData,
// home: Scaffold(
// backgroundColor: Colors.grey,
// body: ScheduleListScreen(),
// ),
// );
// }
// }

import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:on_time_front/presentation/preparation/screens/schedule_list_screen.dart';
import 'package:on_time_front/presentation/shared/theme/theme.dart';

void main() async {
runApp(const ProviderScope(child: MyApp()));
WidgetsFlutterBinding.ensureInitialized();
}

class MyApp extends StatelessWidget {
const MyApp({super.key});

@override
Widget build(BuildContext context) {
return MaterialApp(
theme: themeData,
home: Scaffold(
backgroundColor: Colors.grey,
body: ScheduleListScreen(),
),
);
}
}
1 change: 0 additions & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.17"
version: "2.0.16"
flutter_swipe_action_cell:
dependency: "direct main"
description:
Expand Down

0 comments on commit 24833dd

Please sign in to comment.