diff options
Diffstat (limited to 'lib/result_screen.dart')
-rw-r--r-- | lib/result_screen.dart | 19 |
1 files changed, 19 insertions, 0 deletions
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 |