Commit adc9e7b8 authored by Edirisinghe B.M - IT20252304's avatar Edirisinghe B.M - IT20252304

Merge branch 'it20241032' into 'master'

It20241032 bug fixed in home welcome page

See merge request !6
parents a0efbdad cad518b3
import 'package:client/disease/DiseasePrediction.dart';
import 'package:client/forecast/Forecast.dart';
import 'package:client/grades/GradesPrediction.dart';
import 'package:flutter/material.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:flutter/src/widgets/placeholder.dart';
......@@ -71,13 +68,8 @@ class WelcomePage extends StatelessWidget {
textAlign: TextAlign.center,
),
lottie: "assets/lottie/90021-graph-stats.json",
onTap: () {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => Forecast(),
),
);
},
),
//ai_based_ommunity
ModuleCard(
......@@ -92,7 +84,8 @@ class WelcomePage extends StatelessWidget {
textAlign: TextAlign.center,
),
lottie: "assets/lottie/99782-help.json",
onTap: () {},
),
],
),
......@@ -116,13 +109,8 @@ class WelcomePage extends StatelessWidget {
),
lottie:
"assets/lottie/112180-paper-notebook-writing-animation.json",
onTap: () {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => GradesPrediction(),
),
);
},
),
//rbd_disease_identification
ModuleCard(
......@@ -138,13 +126,8 @@ class WelcomePage extends StatelessWidget {
),
lottie:
"assets/lottie/102131-hand-holding-plant-seedling.json",
onTap: () {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => DiseasePrediction(),
),
);
},
),
],
),
......
......@@ -6,6 +6,10 @@
#include "generated_plugin_registrant.h"
#include <url_launcher_linux/url_launcher_plugin.h>
void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
}
......@@ -3,6 +3,7 @@
#
list(APPEND FLUTTER_PLUGIN_LIST
url_launcher_linux
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
......
......@@ -6,7 +6,9 @@ import FlutterMacOS
import Foundation
import path_provider_foundation
import url_launcher_macos
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
}
......@@ -17,6 +17,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.11.0"
auto_size_text_pk:
dependency: transitive
description:
name: auto_size_text_pk
sha256: ced55de5336fa7f438c1f5a9aa234e25d7a120c1d40d376a7cdc2af28cdb6995
url: "https://pub.dev"
source: hosted
version: "3.0.0"
boolean_selector:
dependency: transitive
description:
......@@ -131,6 +139,11 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_web_plugins:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
google_fonts:
dependency: "direct dev"
description:
......@@ -360,6 +373,70 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.3.2"
url_launcher:
dependency: "direct main"
description:
name: url_launcher
sha256: eb1e00ab44303d50dd487aab67ebc575456c146c6af44422f9c13889984c00f3
url: "https://pub.dev"
source: hosted
version: "6.1.11"
url_launcher_android:
dependency: transitive
description:
name: url_launcher_android
sha256: "1a5848f598acc5b7d8f7c18b8cb834ab667e59a13edc3c93e9d09cf38cc6bc87"
url: "https://pub.dev"
source: hosted
version: "6.0.34"
url_launcher_ios:
dependency: transitive
description:
name: url_launcher_ios
sha256: "9af7ea73259886b92199f9e42c116072f05ff9bea2dcb339ab935dfc957392c2"
url: "https://pub.dev"
source: hosted
version: "6.1.4"
url_launcher_linux:
dependency: transitive
description:
name: url_launcher_linux
sha256: "207f4ddda99b95b4d4868320a352d374b0b7e05eefad95a4a26f57da413443f5"
url: "https://pub.dev"
source: hosted
version: "3.0.5"
url_launcher_macos:
dependency: transitive
description:
name: url_launcher_macos
sha256: "91ee3e75ea9dadf38036200c5d3743518f4a5eb77a8d13fda1ee5764373f185e"
url: "https://pub.dev"
source: hosted
version: "3.0.5"
url_launcher_platform_interface:
dependency: transitive
description:
name: url_launcher_platform_interface
sha256: "6c9ca697a5ae218ce56cece69d46128169a58aa8653c1b01d26fcd4aad8c4370"
url: "https://pub.dev"
source: hosted
version: "2.1.2"
url_launcher_web:
dependency: transitive
description:
name: url_launcher_web
sha256: "81fe91b6c4f84f222d186a9d23c73157dc4c8e1c71489c4d08be1ad3b228f1aa"
url: "https://pub.dev"
source: hosted
version: "2.0.16"
url_launcher_windows:
dependency: transitive
description:
name: url_launcher_windows
sha256: "254708f17f7c20a9c8c471f67d86d76d4a3f9c1591aad1e15292008aceb82771"
url: "https://pub.dev"
source: hosted
version: "3.0.6"
vector_math:
dependency: transitive
description:
......@@ -368,6 +445,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.4"
velocity_x:
dependency: "direct main"
description:
name: velocity_x
sha256: "3b60374a8c56fea3f53fba61440ebb9c753a39952a15d2e65bb2910873ebcac9"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
vxstate:
dependency: transitive
description:
name: vxstate
sha256: ed5a880018191c5cfed8528bd77f2a942b04847168ca12636a306c323d311086
url: "https://pub.dev"
source: hosted
version: "2.3.0"
win32:
dependency: transitive
description:
......
......@@ -35,6 +35,8 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
velocity_x: ^4.0.0
url_launcher: ^6.1.11
dev_dependencies:
flutter_test:
......
......@@ -6,6 +6,9 @@
#include "generated_plugin_registrant.h"
#include <url_launcher_windows/url_launcher_windows.h>
void RegisterPlugins(flutter::PluginRegistry* registry) {
UrlLauncherWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
}
......@@ -3,6 +3,7 @@
#
list(APPEND FLUTTER_PLUGIN_LIST
url_launcher_windows
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment