We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i try circleAvatar for local image in assets not work . but i using Image() is work
circleAvatar only Work for url Image
code
from flet import * class Stories(UserControl): def __init__(self): super(Stories, self).__init__() self.man_picture = CircleAvatar( foreground_image_url="assets/man.jpg" ) def build(self): return Column([ Text("dqwd"), self.man_picture ]) def main(page:Page): page.window_width = 300 page.add(Stories()) app(main,view=AppView.WEB_BROWSER,port=5050,assets_dir="assets")
The text was updated successfully, but these errors were encountered:
i try circleAvatar for local image in assets not work . but i using Image() is work circleAvatar only Work for url Image code from flet import * class Stories(UserControl): def __init__(self): super(Stories, self).__init__() self.man_picture = CircleAvatar( foreground_image_url="assets/man.jpg" ) def build(self): return Column([ Text("dqwd"), self.man_picture ]) def main(page:Page): page.window_width = 300 page.add(Stories()) app(main,view=AppView.WEB_BROWSER,port=5050,assets_dir="assets")
can pleas try by replacing "assets/man.jpg" with "./man.jpg"
Sorry, something went wrong.
A pre-release with the fix concerning this issue is now available. Try it and report if you face any further issues or have any questions:
pip install flet --pre
ndonkoHenri
Successfully merging a pull request may close this issue.
i try circleAvatar for local image in assets not work . but i using Image() is work
circleAvatar only Work for url Image
code
The text was updated successfully, but these errors were encountered: