try fix width

This commit is contained in:
Thomas Fransolet 2024-02-28 15:33:35 +01:00
parent 8d5a0ad1f6
commit 5de0ca14cd

View File

@ -114,7 +114,7 @@ class _EventPopupState extends State<EventPopup> {
border: Border(right: BorderSide(width: 0.05, color: kMainGrey)),
color: Colors.grey,
),
width: 225,
width: size.width * 0.17,
height: size.height,
child: CachedNetworkImage(
imageUrl: widget.eventAgenda.image!,
@ -177,7 +177,7 @@ class _EventPopupState extends State<EventPopup> {
padding: const EdgeInsets.only(left: 15),
child: Container(
height: size.height * 0.65,
width: size.width * 0.45,
width: size.width * 0.38,
decoration: BoxDecoration(
color: kBackgroundLight,
borderRadius: BorderRadius.all(Radius.circular(20.0))
@ -220,7 +220,7 @@ class _EventPopupState extends State<EventPopup> {
),
),
SizedBox(
width: size.width * 0.3,
width: size.width * 0.32,
height: size.height * 0.65,
child: Padding(
padding: const EdgeInsets.all(8.0),
@ -230,7 +230,7 @@ class _EventPopupState extends State<EventPopup> {
children: [
widget.eventAgenda.address!.lat != null && widget.eventAgenda.address!.lng != null ?
SizedBox(
width: size.width * 0.25,
width: size.width * 0.28,
height: size.height * 0.2,
child: GoogleMap(
mapToolbarEnabled: false,
@ -244,7 +244,8 @@ class _EventPopupState extends State<EventPopup> {
markers: markers,
),
): SizedBox(),
SizedBox(
Container(
color: Colors.green,
width: size.width * 0.28,
height: size.height * 0.35,
child: Column(