From 7606ef1d9872ca0466e57779aeaf0ce690cac69b Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Thu, 28 Sep 2023 19:02:06 +0300 Subject: Getting basic functionalities over from the OCR app like the camera. Changes to be committed: modified: lib/main.dart new file: lib/result_screen.dart modified: pubspec.lock modified: pubspec.yaml modified: test/widget_test.dart --- lib/result_screen.dart | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lib/result_screen.dart (limited to 'lib/result_screen.dart') diff --git a/lib/result_screen.dart b/lib/result_screen.dart new file mode 100644 index 0000000..d5a64ea --- /dev/null +++ b/lib/result_screen.dart @@ -0,0 +1,19 @@ +import 'package:flutter/material.dart'; + +class ResultScreen extends StatelessWidget { + final String text; + + const ResultScreen({super.key, required this.text}); + + @override + Widget build(BuildContext context) => Scaffold( + appBar: AppBar( + //backgroundColor: Theme.of(context).colorScheme.inversePrimary, + title: const Text('Result'), + ), + body: Container( + padding: const EdgeInsets.all(30.0), + child: Text(text), + ), + ); +} \ No newline at end of file -- cgit v1.2.3