TheEthicalBoy

Results 28 issues of TheEthicalBoy

## Summary by Sourcery This pull request enhances the `CupertinoAppBar` to support multiple trailing controls by wrapping them in a `Row` widget. Additionally, it updates the bug report issue template...

## Summary by Sourcery This pull request introduces string representation methods (`__str__` and `__repr__`) for the `Event` class, improving debugging and logging capabilities. Additionally, it enhances the `ContainerControl` to support...

Fixes #3573 - Deprecated `ThemeVisualDensity` in favor of `VisualDensity` ## Summary by Sourcery This pull request addresses multiple issues with button components by adding new style properties, fixing color and...

Closes #317 ## Test Code ```python import flet as ft def main(page): page.horizontal_alignment = ft.CrossAxisAlignment.CENTER page.on_error = lambda e: print(e.data) page.scroll = True def handle_click(e): d = page.take_screenshot(c.uid) page.set_clipboard(d) #...

## Description `*Destination.page_controls` is a list of controls to be displayed in the page when a destination is clicked. It functions by simply replacing the current `page.controls` by the provided...

Closes #1281 ## Test Code ```python import flet as ft def main(page: ft.Page): page.window_always_on_top = True page.theme_mode = ft.ThemeMode.LIGHT page.horizontal_alignment = ft.CrossAxisAlignment.CENTER page.add( cam := ft.Camera( width=350, height=350, resolution_preset=ft.ResolutionPreset.MAX, error_content=ft.ProgressRing(),...

Closes #286 ## Test Code: ```py import flet as ft import flet.ads as ads def main(page: ft.Page): page.overlay.append( iad := ads.InterstitialAd( unit_id="ca-app-pub-3940256099942544/1033173712", on_load=lambda e: print("InterstitialAd loaded"), on_error=lambda e: print("InterstitialAd error",...

Closes #3427 and #3428 ## Test Code ```py from time import sleep import flet as ft def main(page: ft.Page): lv = ft.SliverListView(expand=1, spacing=10, padding=20) count = 1 for i in...