benitmulindwa / fletifyhtml Goto Github PK
View Code? Open in Web Editor NEWFletifyHTML is a versatile Python tool designed to convert HTML content into Flet code.
License: MIT License
FletifyHTML is a versatile Python tool designed to convert HTML content into Flet code.
License: MIT License
thx you project very good . i try for showing embed or iframe from maps google but not work for me
here code
from FletifyHTML.converter import convert_html_to_flet
import flet as ft
html_content = """
<div>
<h1>Title</h1>
<p style="background-color: red; color:black; font-size:30">This is a paragraph.</p>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d15863.947488002921!2d107.05475795541992!3d-6.265456199999997!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2e698fbe9f5f6eb9%3A0x724a46c853909794!2sSolaria%20Metland%20Tambun!5e0!3m2!1sen!2sid!4v1703832025057!5m2!1sen!2sid" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
"""
flet_code = convert_html_to_flet(html_content)
def main(page: ft.Page):
page.scroll = "always"
page.add(flet_code)
page.update()
ft.app(target=main)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.