functional datastructure. Needs to be able to write to storage as well
This commit is contained in:
@@ -32,7 +32,9 @@ 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
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
|
Reference in New Issue
Block a user