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