From 9781490fa5b6150832df0b5c468b7ba8c9429f68 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Mon, 8 Jul 2024 23:37:27 +0200 Subject: [PATCH] add text analyse en cours --- covas_mobile/lib/pages/DisplayPictureScreen.dart | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/covas_mobile/lib/pages/DisplayPictureScreen.dart b/covas_mobile/lib/pages/DisplayPictureScreen.dart index c237760..01cc135 100644 --- a/covas_mobile/lib/pages/DisplayPictureScreen.dart +++ b/covas_mobile/lib/pages/DisplayPictureScreen.dart @@ -49,10 +49,13 @@ class DisplayPictureScreenState extends State { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar(title: const Text('Display the Picture')), - // The image is stored as a file on the device. Use the `Image.file` - // constructor with the given path to display the image. - body: Image.file(File(widget.imagePath)), - ); + appBar: AppBar(title: const Text('Display the Picture')), + // The image is stored as a file on the device. Use the `Image.file` + // constructor with the given path to display the image. + body: SingleChildScrollView( + child: Column(children: [ + Image.file(File(widget.imagePath)), + Text("Analyse en cours...") + ]))); } }