add image zoom
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user