updated new flutter version
This commit is contained in:
@@ -11,6 +11,7 @@ import 'package:geolocator/geolocator.dart' as geolocator;
|
||||
import 'package:url_strategy/url_strategy.dart';
|
||||
import 'models/located_address.dart';
|
||||
import 'pages/create_online_store_1.dart';
|
||||
import 'pages/download.dart';
|
||||
import 'pages/me.dart';
|
||||
import 'package:pull_to_refresh/pull_to_refresh.dart';
|
||||
import 'package:splashscreen/splashscreen.dart';
|
||||
@@ -196,6 +197,11 @@ class MyApp extends StatelessWidget {
|
||||
CreateOnlineStore1()
|
||||
);
|
||||
}
|
||||
if (pathElements[1] == 'download') {
|
||||
return MaterialPageRoute(builder: (BuildContext context) =>
|
||||
Download()
|
||||
);
|
||||
}
|
||||
return MaterialPageRoute(
|
||||
builder: (BuildContext context) =>
|
||||
Home(title: Constants.APP_TITLE,),
|
||||
|
||||
Reference in New Issue
Block a user