0

I want to Create Class called ImageLoader

to Shwoing ProgressRing While Image Loading

with Image Class I can Display Image From url By:

image_url = 'https://te.legra.ph/file/6b4e9d80daacb52b71a14.jpg'
image_control = Image(src = image_url)

then I use page.add(image_control)

I want use like That:

image_progress =  ImageLoader(src = image_url)
page.add(image_progress )

I type some code to what i want not with Custom Class

This Code here in main Function : https://pastebin.com/P54RqqrV

How To convert it to Custom Control like this way: https://flet.dev/docs/guides/python/user-controls

Kakarotto
  • 13
  • 3

0 Answers0