Commit 841e6056 authored by  Rathnayaka R.M.N.A's avatar Rathnayaka R.M.N.A

Merge branch 'master' into 'master'

add Severity Level Detection

See merge request !5
parents 09ae7fa2 a4ed7747
None
Moderate
Severe
\ No newline at end of file
import 'package:canis_care/models/component.dart'; import 'package:canis_care/models/component.dart';
import 'package:canis_care/screens/disease_intelligence_screen.dart'; import 'package:canis_care/screens/disease_intelligence_screen.dart';
import 'package:canis_care/screens/severity-level-detection.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart'; import 'package:google_fonts/google_fonts.dart';
...@@ -140,11 +141,17 @@ class _HomePageState extends State<HomePage> { ...@@ -140,11 +141,17 @@ class _HomePageState extends State<HomePage> {
), ),
), ),
GestureDetector( GestureDetector(
onTap: () {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => SeverityLevelDetection()),
);
},
child: Container( child: Container(
padding: const EdgeInsets.only( padding: const EdgeInsets.only(
top: 10, left: 10, right: 10, bottom: 10), top: 10, left: 10, right: 10, bottom: 10),
child: ClipRRect( child: ClipRRect(
borderRadius: BorderRadius.circular(40), borderRadius: BorderRadius.circular(60),
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.blueAccent.withOpacity(0.6)), color: Colors.blueAccent.withOpacity(0.6)),
......
This diff is collapsed.
...@@ -104,6 +104,8 @@ flutter: ...@@ -104,6 +104,8 @@ flutter:
- assets/skinDiseaseIdentificationModel.tflite - assets/skinDiseaseIdentificationModel.tflite
- assets/labels.txt - assets/labels.txt
- assets/newdog1model1.tflite - assets/newdog1model1.tflite
- assets/levels-s.txt
- assets/severitymodel.tflite
# - images/a_dot_ham.jpeg # - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see # An image asset can refer to one or more resolution-specific "variants", see
......
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