Skip to content

Commit c439df7

Browse files
committed
use: hashurl
1 parent 54bb2c7 commit c439df7

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ENV PATH="/usr/local/flutter/bin:/usr/local/flutter/bin/cache/dart-sdk/bin:${PAT
1616
# Run flutter doctor
1717
RUN flutter doctor -v
1818
# Enable flutter web
19-
RUN flutter channel master
19+
RUN flutter channel beta
2020
RUN flutter upgrade
2121
RUN flutter config --enable-web
2222

lib/main.dart

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import 'package:flutter/material.dart';
22
import 'package:social_4pet/pet_app.dart';
33

4-
import 'configure_nonweb.dart' if (dart.library.html) 'configure_web.dart';
5-
64
void main() {
7-
configureApp();
85
runApp(PetApp());
96
}

lib/pet_app.dart

+1-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ class PetApp extends StatelessWidget {
1515
Widget build(BuildContext context) {
1616
return MaterialApp(
1717
title: 'OhMyPet Social',
18-
routes: routers,
19-
onUnknownRoute: (_) {
20-
return MaterialPageRoute(builder: (_) => const PetInfoScreen());
21-
},
18+
routes: routers
2219
);
2320
}
2421
}

0 commit comments

Comments
 (0)