Commit 63c87ec1 authored by Ediri99's avatar Ediri99

commit - UI edit

parent 28183030
...@@ -42,7 +42,7 @@ class _DiseasePredictionState extends State<DiseasePrediction> { ...@@ -42,7 +42,7 @@ class _DiseasePredictionState extends State<DiseasePrediction> {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
Text( Text(
"Scan your plant to get started", "Scan your plant to get started", //instructions
style: GoogleFonts.roboto( style: GoogleFonts.roboto(
fontSize: MediaQuery.of(context).size.width / 10, fontSize: MediaQuery.of(context).size.width / 10,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
...@@ -51,7 +51,7 @@ class _DiseasePredictionState extends State<DiseasePrediction> { ...@@ -51,7 +51,7 @@ class _DiseasePredictionState extends State<DiseasePrediction> {
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
Text( Text(
"Make sure to focus on the fungus", "Make sure to focus on the fungus", //instructions to capture
style: GoogleFonts.roboto( style: GoogleFonts.roboto(
fontSize: MediaQuery.of(context).size.width / 20, fontSize: MediaQuery.of(context).size.width / 20,
fontWeight: FontWeight.w400, fontWeight: FontWeight.w400,
...@@ -71,28 +71,6 @@ class _DiseasePredictionState extends State<DiseasePrediction> { ...@@ -71,28 +71,6 @@ class _DiseasePredictionState extends State<DiseasePrediction> {
"assets/lottie/scanner.json", "assets/lottie/scanner.json",
), ),
), ),
// child: DottedBorder(
// color: Colors.black,
// strokeWidth: 2,
// dashPattern: [6, 3, 2, 3],
// strokeCap: StrokeCap.round,
// borderType: BorderType.Circle,
// child: Container(
// width: MediaQuery.of(context).size.width,
// child: Stack(
// alignment: Alignment.center,
// children: [
// Lottie.asset(
// "assets/lottie/plant-moving.json",
// height: MediaQuery.of(context).size.height / 3.5,
// ),
// Lottie.asset(
// "assets/lottie/scanner.json",
// ),
// ],
// ),
// ),
// ),
) )
], ],
), ),
......
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