add image zoom

This commit is contained in:
2025-12-04 11:22:20 +02:00
parent 2d67804fee
commit 0801266120

View File

@@ -138,10 +138,12 @@ class ProductPage:
self.product_content_image = ft.Column( self.product_content_image = ft.Column(
[ [
ft.Card( ft.Card(
content=ft.Container( content=ft.GestureDetector(
self.product_main_image, content=ft.Container(
padding=10, self.product_main_image,
on_click=self.on_zoom_image_btn_click, padding=10,
),
on_tap=self.on_zoom_image_btn_click,
mouse_cursor=ft.MouseCursor.ZOOM_IN mouse_cursor=ft.MouseCursor.ZOOM_IN
) )
) )