working save and load functionality with custom datastructures
This commit is contained in:
@@ -32,7 +32,7 @@ class _LandmarkCardState extends State<LandmarkCard> {
|
||||
// force a fixed width
|
||||
width: 160,
|
||||
child: Image.network(
|
||||
widget.landmark.imageURL!,
|
||||
widget.landmark.imageURL ?? '',
|
||||
errorBuilder: (context, error, stackTrace) => Icon(Icons.question_mark_outlined),
|
||||
// TODO: make this a switch statement to load a placeholder if null
|
||||
// cover the whole container meaning the image will be cropped
|
||||
|
Reference in New Issue
Block a user