We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c6a25d commit 411459dCopy full SHA for 411459d
lib/main.dart
@@ -183,8 +183,8 @@ class _HomePageState extends State<HomePage> {
183
);
184
} else if (snapshot.hasError) {
185
// If an error occurred while getting the image data, display an error message.
186
- return Center(
187
- child: Text('Error: ${snapshot.error}'));
+ return const Center(
+ child: Text('Something went wrong. Please Re-generate.'));
188
} else if (snapshot.hasData) {
189
// If the image data is available, display the image using Image.memory().
190
return Image.memory(snapshot.data!);
0 commit comments