File tree 3 files changed +2
-8
lines changed
3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ ENV PATH="/usr/local/flutter/bin:/usr/local/flutter/bin/cache/dart-sdk/bin:${PAT
16
16
# Run flutter doctor
17
17
RUN flutter doctor -v
18
18
# Enable flutter web
19
- RUN flutter channel master
19
+ RUN flutter channel beta
20
20
RUN flutter upgrade
21
21
RUN flutter config --enable-web
22
22
Original file line number Diff line number Diff line change 1
1
import 'package:flutter/material.dart' ;
2
2
import 'package:social_4pet/pet_app.dart' ;
3
3
4
- import 'configure_nonweb.dart' if (dart.library.html) 'configure_web.dart' ;
5
-
6
4
void main () {
7
- configureApp ();
8
5
runApp (PetApp ());
9
6
}
Original file line number Diff line number Diff line change @@ -15,10 +15,7 @@ class PetApp extends StatelessWidget {
15
15
Widget build (BuildContext context) {
16
16
return MaterialApp (
17
17
title: 'OhMyPet Social' ,
18
- routes: routers,
19
- onUnknownRoute: (_) {
20
- return MaterialPageRoute (builder: (_) => const PetInfoScreen ());
21
- },
18
+ routes: routers
22
19
);
23
20
}
24
21
}
You can’t perform that action at this time.
0 commit comments