ooooops
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
import 'dart:js_interop';
|
|
||||||
|
|
||||||
import 'package:briessenchecker/models/checklist.dart';
|
import 'package:briessenchecker/models/checklist.dart';
|
||||||
import 'package:briessenchecker/models/listitem.dart';
|
import 'package:briessenchecker/models/listitem.dart';
|
||||||
import 'package:briessenchecker/services/checklist_provider.dart';
|
import 'package:briessenchecker/services/checklist_provider.dart';
|
||||||
@@ -49,7 +47,6 @@ class _DetailChecklistPageState extends State<DetailChecklistPage> {
|
|||||||
}
|
}
|
||||||
return Column(
|
return Column(
|
||||||
children: [
|
children: [
|
||||||
Text(title == '' ? 'Unnamed ${_checklist!.id}' : title),
|
|
||||||
Text(_checklist!.description),
|
Text(_checklist!.description),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 500,
|
width: 500,
|
||||||
@@ -62,7 +59,7 @@ class _DetailChecklistPageState extends State<DetailChecklistPage> {
|
|||||||
],
|
],
|
||||||
);
|
);
|
||||||
} else if (snapshot.hasError) {
|
} else if (snapshot.hasError) {
|
||||||
return Text(snapshot.error.toString());
|
return Text('Ooooops, ${snapshot.error}');
|
||||||
} else {
|
} else {
|
||||||
return const CircularProgressIndicator();
|
return const CircularProgressIndicator();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user