add image zoom
This commit is contained in:
@@ -138,10 +138,12 @@ class ProductPage:
|
||||
self.product_content_image = ft.Column(
|
||||
[
|
||||
ft.Card(
|
||||
content=ft.Container(
|
||||
self.product_main_image,
|
||||
padding=10,
|
||||
on_click=self.on_zoom_image_btn_click,
|
||||
content=ft.GestureDetector(
|
||||
content=ft.Container(
|
||||
self.product_main_image,
|
||||
padding=10,
|
||||
),
|
||||
on_tap=self.on_zoom_image_btn_click,
|
||||
mouse_cursor=ft.MouseCursor.ZOOM_IN
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user