Compare commits
No commits in common. "4d3533eb8ac0b2d6d700a735afdc5764e9203c20" and "5e0b541786cc7978b0928dbf14f9d87259581006" have entirely different histories.
4d3533eb8a
...
5e0b541786
@ -211,29 +211,11 @@ class _ItemMenuState extends State<ItemMenu> with ShowErrorDialog {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(top: 60.0),
|
padding: const EdgeInsets.only(top: 60.0),
|
||||||
child: Image.network(
|
child: Center(
|
||||||
imgUrl,
|
child: Container(height: 250, child: Image.network(imgUrl)),
|
||||||
width: MediaQuery.of(context).size.width *
|
),
|
||||||
0.5, // 50% of screen width
|
),
|
||||||
height: MediaQuery.of(context).size.height * 0.5,
|
|
||||||
loadingBuilder: (BuildContext context, Widget child,
|
|
||||||
ImageChunkEvent? loadingProgress) {
|
|
||||||
if (loadingProgress == null) {
|
|
||||||
return child; // The image has finished loading
|
|
||||||
}
|
|
||||||
return Center(
|
|
||||||
child: CircularProgressIndicator(),
|
|
||||||
);
|
|
||||||
},
|
|
||||||
errorBuilder: (BuildContext context, Object error,
|
|
||||||
StackTrace? stackTrace) {
|
|
||||||
return Center(
|
|
||||||
child: Icon(Icons.error,
|
|
||||||
size: MediaQuery.of(context).size.width * 0.1),
|
|
||||||
);
|
|
||||||
},
|
|
||||||
)),
|
|
||||||
Row(children: [
|
Row(children: [
|
||||||
Icon(Icons.event),
|
Icon(Icons.event),
|
||||||
Text(
|
Text(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user