diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-10-30 15:01:04 +0200 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-10-30 15:01:04 +0200 |
commit | 8f768f26def1cb7c862ffda7ef7bacf5c4897be0 (patch) | |
tree | 1fecdaa9fea7dbdb495991ce355a7dc81db66c12 | |
parent | 0dfaebd1778f91f4f7f9c0a7f8b1e274516c4f61 (diff) |
Made Result Screen Text selectable.
Changes to be committed:
modified: lib/result_screen.dart
modified: pubspec.lock
-rw-r--r-- | lib/result_screen.dart | 3 | ||||
-rw-r--r-- | pubspec.lock | 12 |
2 files changed, 7 insertions, 8 deletions
diff --git a/lib/result_screen.dart b/lib/result_screen.dart index d5a64ea..0d47962 100644 --- a/lib/result_screen.dart +++ b/lib/result_screen.dart @@ -8,12 +8,11 @@ class ResultScreen extends StatelessWidget { @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), + child: SelectableText(text), ), ); }
\ No newline at end of file diff --git a/pubspec.lock b/pubspec.lock index 1b2e8a3..8de775b 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -45,10 +45,10 @@ packages: dependency: transitive description: name: camera_android - sha256: c978373b41a463c9edda3fea0a06966299f55db63232cd0f0d4efc21a59a0006 + sha256: "58463140f1b39591b8e2155861b436abad4ceb48160058be8374164ff0309ef3" url: "https://pub.dev" source: hosted - version: "0.10.8+12" + version: "0.10.8+13" camera_avfoundation: dependency: transitive description: @@ -61,10 +61,10 @@ packages: dependency: transitive description: name: camera_platform_interface - sha256: "8734d1c682f034bdb12d0d6ff379b0535a9b8e44266b530025bf8266d6a62f28" + sha256: "86fd4fc597c6e455265ddb5884feb352d0171ad14b9cdf3aba30da59b25738c4" url: "https://pub.dev" source: hosted - version: "2.5.2" + version: "2.6.0" camera_web: dependency: transitive description: @@ -178,10 +178,10 @@ packages: dependency: transitive description: name: flutter_plugin_android_lifecycle - sha256: f185ac890306b5779ecbd611f52502d8d4d63d27703ef73161ca0407e815f02c + sha256: b068ffc46f82a55844acfa4fdbb61fad72fa2aef0905548419d97f0f95c456da url: "https://pub.dev" source: hosted - version: "2.0.16" + version: "2.0.17" flutter_test: dependency: "direct dev" description: flutter |