chart screen changes
This commit is contained in:
parent
f78d2f2df3
commit
b5d0b38ac7
@ -20,12 +20,12 @@ if (project.hasProperty('google-services.json')) {
|
||||
|
||||
def flutterVersionCode = localProperties.getProperty("flutter.versionCode")
|
||||
if (flutterVersionCode == null) {
|
||||
flutterVersionCode = "31"
|
||||
flutterVersionCode = "32"
|
||||
}
|
||||
|
||||
def flutterVersionName = localProperties.getProperty("flutter.versionName")
|
||||
if (flutterVersionName == null) {
|
||||
flutterVersionName = "1.0.30"
|
||||
flutterVersionName = "1.0.31"
|
||||
}
|
||||
|
||||
def keystorePropertiesFile = rootProject.file("key.properties")
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import 'dart:developer';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:app_links/app_links.dart';
|
||||
// import 'package:app_links/app_links.dart';
|
||||
import 'package:uae_stat/presentation/Screens/Bottom%20Navigation%20Pages/UAE_Numbers/Social/marriages.dart';
|
||||
import 'package:uae_stat/presentation/routes/auth_routes/login_route.dart';
|
||||
import 'package:uae_stat/presentation/routes/bottom_bar_routes/tab_routes/home_route.dart';
|
||||
@ -30,12 +30,12 @@ class _DeepLinkListenerState extends State<DeepLinkListener> {
|
||||
});
|
||||
|
||||
// Also listen for app links (Firebase Hosting links)
|
||||
final appLinks = AppLinks();
|
||||
appLinks.uriLinkStream.listen((Uri? uri) {
|
||||
if (uri != null) {
|
||||
handleDeepLink(uri);
|
||||
}
|
||||
});
|
||||
// final appLinks = AppLinks();
|
||||
// appLinks.uriLinkStream.listen((Uri? uri) {
|
||||
// if (uri != null) {
|
||||
// handleDeepLink(uri);
|
||||
// }
|
||||
// });
|
||||
}
|
||||
|
||||
void handleDeepLink(Uri uri) {
|
||||
@ -45,11 +45,14 @@ class _DeepLinkListenerState extends State<DeepLinkListener> {
|
||||
final String firstSegment = uri.pathSegments.first;
|
||||
|
||||
if (firstSegment == 'marriages') {
|
||||
Navigator.of(context).push(MaterialPageRoute(builder: (context) => Marriages()));
|
||||
Navigator.of(context)
|
||||
.push(MaterialPageRoute(builder: (context) => Marriages()));
|
||||
} else if (firstSegment == 'login') {
|
||||
Navigator.of(context).push(MaterialPageRoute(builder: (context) => LoginRoute()));
|
||||
Navigator.of(context)
|
||||
.push(MaterialPageRoute(builder: (context) => LoginRoute()));
|
||||
} else if (firstSegment == 'home') {
|
||||
Navigator.of(context).push(MaterialPageRoute(builder: (context) => MyHomePage()));
|
||||
Navigator.of(context)
|
||||
.push(MaterialPageRoute(builder: (context) => MyHomePage()));
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -58,4 +61,4 @@ class _DeepLinkListenerState extends State<DeepLinkListener> {
|
||||
Widget build(BuildContext context) {
|
||||
return widget.child;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
name: uae_stat
|
||||
description: "View statistics about the UAE from the Federal Center for Statistics and Competitiveness."
|
||||
publish_to: "none"
|
||||
version: 1.0.30+31
|
||||
version: 1.0.31+32
|
||||
|
||||
environment:
|
||||
sdk: ">=3.2.3 <4.0.0"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user