Repository Analysis

flet-dev/flet

Build realtime web, mobile and desktop apps in Python only. No frontend experience required.

9.9 Low AI signal View on GitHub
9.9
Adjusted Score
9.9
Raw Score
100%
Time Factor
2026-05-29
Last Push
16,155
Stars
Python
Language
297,538
Lines of Code
3331
Files
1968
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 210MEDIUM 196LOW 1562

Pattern Findings

1968 matches across 17 categories. Click a row to expand file-level details.

Cross-File Repetition157 hits · 785 pts
SeverityFileLineSnippet
HIGHwebsite/docs/tutorials/solitaire.md0returns list of cards that will be dragged together, starting with the current card
HIGHwebsite/docs/tutorials/solitaire.md0returns list of cards that will be dragged together, starting with the current card
HIGH…ples/tutorials/solitaire/solitaire-final-part1/card.py0returns list of cards that will be dragged together, starting with the current card
HIGH…mples/tutorials/solitaire/solitaire-game-setup/card.py0returns list of cards that will be dragged together, starting with the current card
HIGH…les/tutorials/solitaire/solitaire-fanned-piles/card.py0returns list of cards that will be dragged together, starting with the current card
HIGH…k/python/examples/controls/core/column/spacing/main.py0generates a list of custom containers with length `count`.
HIGH…python/examples/controls/core/column/alignment/main.py0generates a list of custom containers with length `count`.
HIGH…ples/controls/core/column/horizontal_alignment/main.py0generates a list of custom containers with length `count`.
HIGH…utorials/solitaire_declarative/solitaire_final/main.py0return the nearest slot to the card within snap_threshold, or none.
HIGH…/solitaire_declarative/drag-and-drop/step7_field_gd.py0return the nearest slot to the card within snap_threshold, or none.
HIGH…/solitaire_declarative/drag-and-drop/step8_field_gd.py0return the nearest slot to the card within snap_threshold, or none.
HIGH…/solitaire_declarative/drag-and-drop/step6_field_gd.py0initialize homes & coordinates: card1 -> deck, card2 -> waste.
HIGH…/solitaire_declarative/drag-and-drop/step5_field_gd.py0initialize homes & coordinates: card1 -> deck, card2 -> waste.
HIGH…/solitaire_declarative/drag-and-drop/step7_field_gd.py0initialize homes & coordinates: card1 -> deck, card2 -> waste.
HIGH…/solitaire_declarative/drag-and-drop/step4_field_gd.py0initialize homes & coordinates: card1 -> deck, card2 -> waste.
HIGH…s/flet-charts/src/flet_charts/line_chart_data_point.py0returns a copy of this object with the specified properties overridden.
HIGH…ages/flet-charts/src/flet_charts/scatter_chart_spot.py0returns a copy of this object with the specified properties overridden.
HIGH…/flet-charts/src/flet_charts/candlestick_chart_spot.py0returns a copy of this object with the specified properties overridden.
HIGH…/packages/flet-charts/src/flet_charts/bar_chart_rod.py0returns a copy of this object with the specified properties overridden.
HIGH…kages/flet-charts/src/flet_charts/candlestick_chart.py0returns a copy of this object with the specified properties overridden.
HIGH…k/python/packages/flet-charts/src/flet_charts/types.py0returns a copy of this object with the specified properties overridden.
HIGH…k/python/packages/flet-charts/src/flet_charts/types.py0returns a copy of this object with the specified properties overridden.
HIGH…k/python/packages/flet-charts/src/flet_charts/types.py0returns a copy of this object with the specified properties overridden.
HIGH…k/python/packages/flet-charts/src/flet_charts/types.py0returns a copy of this object with the specified properties overridden.
HIGH…k/python/packages/flet-charts/src/flet_charts/types.py0returns a copy of this object with the specified properties overridden.
HIGH…k/python/packages/flet-charts/src/flet_charts/types.py0returns a copy of this object with the specified properties overridden.
HIGH…hon/packages/flet-charts/src/flet_charts/line_chart.py0returns a copy of this object with the specified properties overridden.
HIGH…hon/packages/flet-charts/src/flet_charts/line_chart.py0returns a copy of this object with the specified properties overridden.
HIGH…thon/packages/flet-charts/src/flet_charts/bar_chart.py0returns a copy of this object with the specified properties overridden.
HIGH…/packages/flet-charts/src/flet_charts/scatter_chart.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/box.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/box.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/box.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/box.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/alignment.py0returns a copy of this object with the specified properties overridden.
HIGH…k/python/packages/flet/src/flet/controls/text_style.py0returns a copy of this object with the specified properties overridden.
HIGH…k/python/packages/flet/src/flet/controls/text_style.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/animation.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/animation.py0returns a copy of this object with the specified properties overridden.
HIGH…ython/packages/flet/src/flet/controls/border_radius.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/buttons.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/buttons.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/buttons.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/buttons.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/buttons.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/buttons.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/transform.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/transform.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/transform.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/geometry.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/geometry.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/painting.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/painting.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/painting.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/painting.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/border.py0returns a copy of this object with the specified properties overridden.
HIGHsdk/python/packages/flet/src/flet/controls/border.py0returns a copy of this object with the specified properties overridden.
HIGH…hon/packages/flet-charts/src/flet_charts/line_chart.py0applies a padding for showing contents inside the tooltip.
HIGH…thon/packages/flet-charts/src/flet_charts/bar_chart.py0applies a padding for showing contents inside the tooltip.
HIGH…/packages/flet-charts/src/flet_charts/scatter_chart.py0applies a padding for showing contents inside the tooltip.
97 more matches not shown…
Unused Imports914 hits · 622 pts
SeverityFileLineSnippet
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py3
LOWtools/crocodocs/src/crocodocs/config.py3
LOWtools/crocodocs/src/crocodocs/frontmatter.py3
LOWtools/crocodocs/src/crocodocs/partials.py3
LOWtools/crocodocs/src/crocodocs/generate.py3
LOWtools/crocodocs/src/crocodocs/docs.py3
LOWtools/crocodocs/src/crocodocs/cli.py3
LOWtools/crocodocs/src/crocodocs/assets.py3
LOWtools/crocodocs/src/crocodocs/sidebars.py3
LOWtools/crocodocs/src/crocodocs/progress.py3
LOWsdk/python/examples/apps/flet_build_test/src/main.py9
LOWsdk/python/examples/apps/flet_build_test/src/main.py10
LOWsdk/python/examples/apps/flet_build_test/src/main.py11
LOWsdk/python/examples/apps/flet_build_test/src/main.py12
LOWsdk/python/examples/apps/flet_build_test/src/main.py13
LOWsdk/python/examples/apps/flet_build_test/src/main.py14
LOWsdk/python/examples/apps/flet_build_test/src/main.py15
LOWsdk/python/examples/apps/flet_build_test/src/main.py16
LOWsdk/python/examples/apps/flet_build_test/src/main.py17
LOWsdk/python/examples/apps/flet_build_test/src/main.py18
LOWsdk/python/examples/apps/flet_build_test/src/main.py19
LOWsdk/python/examples/apps/flet_build_test/src/main.py20
LOWsdk/python/examples/apps/flet_build_test/src/main.py21
LOWsdk/python/examples/apps/flet_build_test/src/main.py22
LOW…examples/apps/declarative/trolli/components/sidebar.py1
LOW…n/examples/apps/declarative/trolli/components/board.py1
LOW…xamples/apps/declarative/trolli/components/__init__.py1
LOW…xamples/apps/declarative/trolli/components/__init__.py2
LOW…xamples/apps/declarative/trolli/components/__init__.py3
LOW…xamples/apps/declarative/trolli/components/__init__.py4
LOW…examples/apps/declarative/trolli/components/dialogs.py1
LOW…examples/apps/declarative/trolli/components/app_bar.py1
LOWsdk/python/examples/apps/dialogs/multi_host/main.py15
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py1
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py1
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py1
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py1
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py7
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py8
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py8
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py9
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py10
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py10
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py10
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py15
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py15
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py19
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py19
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py20
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py20
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py20
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py20
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py26
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py27
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py27
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py31
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py31
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py31
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py36
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py36
854 more matches not shown…
Decorative Section Separators136 hits · 431 pts
SeverityFileLineSnippet
MEDIUMtools/crocodocs/src/crocodocs/partials.py74# ---------------------------------------------------------------------------
MEDIUMtools/crocodocs/src/crocodocs/partials.py76# ---------------------------------------------------------------------------
MEDIUMtools/crocodocs/src/crocodocs/partials.py145# ---------------------------------------------------------------------------
MEDIUMtools/crocodocs/src/crocodocs/partials.py147# ---------------------------------------------------------------------------
MEDIUMtools/crocodocs/src/crocodocs/partials.py214# ---------------------------------------------------------------------------
MEDIUMtools/crocodocs/src/crocodocs/partials.py216# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/modal_routes/main.py21# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/modal_routes/main.py23# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/modal_routes/main.py95# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/modal_routes/main.py97# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/modal_routes/main.py145# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/modal_routes/main.py147# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured_views/main.py3# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured_views/main.py5# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured_views/main.py18# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured_views/main.py20# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured_views/main.py64# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured_views/main.py66# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured_views/main.py129# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured_views/main.py131# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured_views/main.py187# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured_views/main.py189# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured/main.py7# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured/main.py9# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured/main.py33# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured/main.py35# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured/main.py63# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured/main.py65# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured/main.py108# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured/main.py110# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured/main.py167# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured/main.py169# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured/main.py282# ---------------------------------------------------------------------------
MEDIUMsdk/python/examples/apps/router/featured/main.py284# ---------------------------------------------------------------------------
MEDIUM…n/packages/flet-cli/tests/test_project_dependencies.py10# ---------------------------------------------------------------------------
MEDIUM…n/packages/flet-cli/tests/test_project_dependencies.py12# ---------------------------------------------------------------------------
MEDIUM…n/packages/flet-cli/tests/test_project_dependencies.py143# ---------------------------------------------------------------------------
MEDIUM…n/packages/flet-cli/tests/test_project_dependencies.py145# ---------------------------------------------------------------------------
MEDIUM…let/integration_tests/examples/apps/test_use_dialog.py15# ---------------------------------------------------------------------------
MEDIUM…let/integration_tests/examples/apps/test_use_dialog.py17# ---------------------------------------------------------------------------
MEDIUM…let/integration_tests/examples/apps/test_use_dialog.py77# ---------------------------------------------------------------------------
MEDIUM…let/integration_tests/examples/apps/test_use_dialog.py79# ---------------------------------------------------------------------------
MEDIUM…let/integration_tests/examples/apps/test_use_dialog.py142# ---------------------------------------------------------------------------
MEDIUM…let/integration_tests/examples/apps/test_use_dialog.py144# ---------------------------------------------------------------------------
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py44# ---------------------------------------------------------------------------
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py46# ---------------------------------------------------------------------------
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py272# ---------------------------------------------------------------------------
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py274# ---------------------------------------------------------------------------
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py408# ---------------------------------------------------------------------------
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py410# ---------------------------------------------------------------------------
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py488# ---------------------------------------------------------------------------
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py490# ---------------------------------------------------------------------------
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py698# ---------------------------------------------------------------------------
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py700# ---------------------------------------------------------------------------
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py810# ---------------------------------------------------------------------------
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py812# ---------------------------------------------------------------------------
MEDIUMsdk/python/packages/flet/tests/test_router_recursive.py26# ---------------------------------------------------------------------------
MEDIUMsdk/python/packages/flet/tests/test_router_recursive.py28# ---------------------------------------------------------------------------
MEDIUMsdk/python/packages/flet/tests/test_router_recursive.py92# ---------------------------------------------------------------------------
MEDIUMsdk/python/packages/flet/tests/test_router_recursive.py94# ---------------------------------------------------------------------------
76 more matches not shown…
Hyper-Verbose Identifiers405 hits · 421 pts
SeverityFileLineSnippet
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py166def _modernize_annotation_text(text: str) -> str:
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py432def _normalize_python_statement(code: str) -> tuple[str, bool]:
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py476def _formatted_function_signature(obj: Any) -> str:
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py500def _formatted_attribute_signature(obj: Any) -> str | None:
LOWtools/crocodocs/src/crocodocs/pypi_index.py115def _candidate_simple_root_urls(base_url: str) -> list[str]:
LOWtools/crocodocs/src/crocodocs/pypi_index.py158def _parse_anchor_text_and_href(html: str) -> list[tuple[str, str]]:
LOWtools/crocodocs/src/crocodocs/pypi_index.py185def _filename_from_href_or_text(text: str, href: str) -> str:
LOWtools/crocodocs/src/crocodocs/pypi_index.py221def _platforms_from_wheel_tags(tags) -> set[str]:
LOWtools/crocodocs/src/crocodocs/pypi_index.py311def _fetch_packages_and_versions_cached(
LOWtools/crocodocs/src/crocodocs/pypi_index.py405def _merge_duplicate_projects(packages_raw: ProjectIndex) -> ProjectIndex:
LOWtools/crocodocs/src/crocodocs/partials.py22def _normalize_local_markdown_links(content: str) -> str:
LOWtools/crocodocs/src/crocodocs/partials.py39def _escape_mdx_text_outside_code(content: str) -> str:
LOWtools/crocodocs/src/crocodocs/partials.py67def _normalize_cli_partial_markdown(content: str) -> str:
LOWtools/crocodocs/src/crocodocs/generate.py70def _extract_api_data_with_griffe(
LOWtools/crocodocs/src/crocodocs/generate.py119def _should_skip_example_path(root: Path, path: Path) -> bool:
LOWtools/crocodocs/src/crocodocs/generate.py166def _generate_examples_metadata(examples_root: Path, output_path: Path) -> int:
LOWtools/crocodocs/src/crocodocs/docs.py32def extract_symbol_blocks_from_mdx(
LOWtools/crocodocs/src/crocodocs/cli.py18def _add_shared_generate_arguments(parser: argparse.ArgumentParser) -> None:
LOWtools/crocodocs/src/crocodocs/cli.py72def _apply_shared_generate_overrides(config, args: argparse.Namespace) -> None:
LOWtools/crocodocs/src/crocodocs/sidebars.py61def _convert_category_mapping(
LOWtools/crocodocs/src/crocodocs/sidebars.py104def _convert_labeled_source_entry(
LOWtools/crocodocs/src/crocodocs/sidebars.py136def build_sidebars_from_source(
LOWtools/crocodocs/src/crocodocs/sidebars.py157def write_sidebars_js_from_source(
LOW…cs/src/crocodocs/scripts/cross_platform_permissions.py28def _load_cross_platform_permissions() -> dict:
LOW…cs/src/crocodocs/scripts/cross_platform_permissions.py87def cross_platform_permissions_list() -> str:
LOWtools/crocodocs/src/crocodocs/scripts/cli_to_md.py9def render_flet_cli_as_markdown(
LOWwebsite/functions/api/confirm-subscription.js35async function subscribeMailingListMember(mailgunApiKey, listName, memberAddress) {
LOWwebsite/src/components/crocodocs/utils.js233export function firstSentenceFromDocstring(docstring, docstringSections) {
LOWwebsite/src/components/crocodocs/utils.js405function resolveRestCrossReference(role, target, context) {
LOWwebsite/src/components/crocodocs/utils.js545function renderTextWithCrossReferences(text, context, keyPrefix) {
LOWwebsite/src/components/crocodocs/utils.js580function preprocessCrossReferenceMarkdown(text, context) {
LOWwebsite/src/components/crocodocs/utils.js604function preprocessRestCrossReferenceMarkdown(text, context) {
LOWwebsite/src/components/crocodocs/utils.js735function normalizeDocstringMarkdown(docstring) {
LOWwebsite/src/theme/DocItem/Layout/index.js27function CrocoDocsTOCDesktopPlaceholder() {
LOW…ython/examples/extensions/geolocator/example_1/main.py29 async def handle_permission_request(e: ft.Event[ft.OutlinedButton]):
LOW…ython/examples/extensions/geolocator/example_1/main.py37 async def handle_get_permission_status(e: ft.Event[ft.OutlinedButton]):
LOW…ython/examples/extensions/geolocator/example_1/main.py44 async def handle_get_current_position(e: ft.Event[ft.OutlinedButton]):
LOW…ython/examples/extensions/geolocator/example_1/main.py53 async def handle_get_last_known_position(e):
LOW…ython/examples/extensions/geolocator/example_1/main.py64 async def handle_location_service_enabled(e):
LOW…ython/examples/extensions/geolocator/example_1/main.py71 async def handle_open_location_settings(e: ft.Event[ft.OutlinedButton]):
LOWsdk/python/examples/extensions/camera/example_1/main.py126 def device_orientation_degrees(orientation: ft.DeviceOrientation | None) -> int:
LOWsdk/python/examples/extensions/camera/example_1/main.py149 def apply_last_image_transform(src_width: int | None, src_height: int | None):
LOW…ython/examples/extensions/audio_recorder/basic/main.py45 async def handle_audio_encoder_test(e: ft.Event[ft.Button]):
LOW…/extensions/datatable2/sortable_and_selectable/main.py59 def handle_row_selection_change(e: ft.Event[ftd.DataRow2]) -> None:
LOW…ntrols/core/dismissible/dismissible_list_tiles/main.py5 async def handle_dialog_action_click(e: ft.Event[ft.TextButton]):
LOW…/python/examples/controls/core/semantics/basic/main.py5 def handle_gain_accessibility_focus(e: ft.Event[ft.Semantics]):
LOW…/python/examples/controls/core/semantics/basic/main.py8 def handle_lose_accessibility_focus(e: ft.Event[ft.Semantics]):
LOW…trols/cupertino/cupertino_navigation_bar/wired/main.py9 def handle_nav_destination_change(e: ft.Event[ft.CupertinoNavigationBar]):
LOW…ontrols/cupertino/cupertino_timer_picker/basic/main.py15 def handle_timer_picker_change(e: ft.Event[ft.CupertinoTimerPicker]):
LOW…rols/material/expansion_tile/theme_mode_toggle/main.py18 def handle_expansion_tile_change(e: ft.Event[ft.ExpansionTile]):
LOW…es/controls/material/app_bar/theme_mode_toggle/main.py10 def handle_checked_item_click(e: ft.Event[ft.PopupMenuItem]):
LOW…ntrols/material/app_bar/actions_and_popup_menu/main.py7 def handle_checked_item_click(e: ft.Event[ft.PopupMenuItem]):
LOW…s/material/range_slider/handling_change_events/main.py7 def handle_slider_change_start(e: ft.Event[ft.RangeSlider]):
LOW…ls/material/data_table/sortable_and_selectable/main.py43 def handle_row_selection_change(e: ft.Event[ft.DataRow]) -> None:
LOW…s/controls/material/data_table/handling_events/main.py5 def handle_row_selection_change(e: ft.Event[ft.DataRow]) -> None:
LOWsdk/python/examples/apps/studio_gallery/video_player.py58 def handle_playback_rate_change(e: ft.Event[ft.Slider]):
LOW…/python/examples/apps/declarative/shape_drawer/main.py82 def handle_secondary_tap_down(e: ft.TapEvent):
LOWsdk/python/examples/apps/declarative/trolli/main.py37 def parse_board_id_from_route(route: str) -> Optional[int]:
LOWsdk/python/examples/apps/7guis/flight_booker/main.py28 def handle_departure_picker_change(e: ft.Event[ft.DatePicker]):
LOWsdk/python/examples/apps/7guis/flight_booker/main.py34 def handle_return_picker_change(e: ft.Event[ft.DatePicker]):
345 more matches not shown…
Docstring Block Structure33 hits · 165 pts
SeverityFileLineSnippet
HIGHsdk/python/packages/flet-video/src/flet_video/video.py363 Captures a screenshot of the current video frame. Args: format: The image format to return
HIGH…dio-recorder/src/flet_audio_recorder/audio_recorder.py58 Starts recording audio and saves it to a file or streams it. If neither `upload` nor :attr:`on_stream`
HIGH…on/packages/flet-cli/src/flet_cli/utils/android_sdk.py309 Install a single SDK package when it is not already present. Args: home_dir: Android SDK h
HIGH…on/packages/flet-cli/src/flet_cli/utils/android_sdk.py390 Query installed SDK packages using `sdkmanager`. Args: home_dir: Android SDK home director
HIGH…thon/packages/flet-cli/src/flet_cli/utils/processes.py12 Execute a subprocess command with optional streamed logging. On Windows, the console output code page is tempo
HIGHsdk/python/packages/flet-web/src/flet_web/uploads.py62 Compute HMAC signature for upload URL validation. Signature derivation: - derive a short-lived signing key
HIGH…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py398 Build signed upload URL for a file. Args: file_name: File name to be uploaded.
HIGHsdk/python/packages/flet/src/flet/security/__init__.py76 Decrypts data produced by `encrypt()`. Input format must be `base64url(salt + token)`, where the first 16 byte
HIGHsdk/python/packages/flet/src/flet/security/__init__.py134 Decrypts data produced by `encrypt_aes_gcm_256()`. Input format must be `base64url(salt + nonce + ciphertext_a
HIGHsdk/python/packages/flet/src/flet/utils/vector.py178 Returns a copy scaled to the specified magnitude. Args: value: Target magnitude.
HIGHsdk/python/packages/flet/src/flet/utils/hashing.py20 Calculates SHA-256 digest for a file. The file is read incrementally using `blocksize` chunks. Args:
HIGHsdk/python/packages/flet/src/flet/utils/validation.py480 Validate that a field contains at least `min_count` visible controls. Property docstring Raises wordin
HIGHsdk/python/packages/flet/src/flet/utils/validation.py808 Validate that a field value is an integer factor of `base`. Property docstring Raises wording:
HIGHsdk/python/packages/flet/src/flet/utils/validation.py866 Validate that a field value is an integer multiple of `divisor`. Property docstring Raises wording:
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1011 Validate that `value` belongs to a fixed set of allowed values. Property docstring Raises wording:
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1064 Validate that at least one field rule passes. Args: rules: Field rules evaluated in declar
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1169 Validate that a sized field has length greater than or equal to `minimum`. Property docstring Raises w
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1233 Validate that a sized field has length equal to `expected`. Property docstring Raises wording:
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1296 Validate that a sized field length is between bounds, inclusive. Property docstring Raises wording:
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1680 Normalize `None` handling for field-level validators. Args: instance: Model or control instance being
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1718 Load and normalize values for a field-vs-field comparison rule. Args: instance: Model or control insta
HIGH…/packages/flet/src/flet/controls/scrollable_control.py379 Moves the scroll position. Args: offset: Absolute scroll target in pixels. A negative valu
HIGHsdk/python/packages/flet/src/flet/controls/colors.py86 Selects a random color, with optional exclusions and weights. Args: exclude: A list of Col
HIGHsdk/python/packages/flet/src/flet/controls/colors.py113 Returns a color with the given opacity. Args: opacity: The opacity value between `0.0` and
HIGH…s/flet/src/flet/controls/cupertino/cupertino_colors.py53 Returns the color with the specified opacity. Args: opacity: The opacity value between `0.
HIGH…s/flet/src/flet/controls/cupertino/cupertino_colors.py83 Selects a random color, with optional exclusions and weights. Args: exclude: A list of col
HIGH…/flet/src/flet/controls/services/shared_preferences.py19 Sets a value for the given key. Note: Due to limitations on Android, it is not possible to
HIGH…/packages/flet/src/flet/controls/services/clipboard.py64 Stores file references on the clipboard. Args: files: A list of file paths. Retur
HIGH…ackages/flet/src/flet/controls/services/file_picker.py220 Selects a directory and returns its absolute path. Args: dialog_title: The title of the di
HIGH…python/packages/flet/src/flet/testing/flet_test_app.py511Create an animated GIF from a sequence of PNG frames. Exactly one of `image_names` or `frames` must be provided
HIGH…/python/packages/flet/src/flet/components/component.py467 Create a frozen `Component` wrapper for a function call. Args: fn: Component function deco
HIGHsdk/python/packages/flet/src/flet/messaging/session.py431 Invokes a client-side control method and waits for the response. Args: control_id: Target
HIGH…hon/packages/flet-desktop/src/flet_desktop/__init__.py324 Resolve desktop client executable, prepare launch arguments, and environment. Resolution strategy (per platfor
Self-Referential Comments43 hits · 129 pts
SeverityFileLineSnippet
MEDIUM…les/extensions/charts/matplotlib_chart/animate/main.py48 # Creating the Animation object
MEDIUM…python/packages/flet-cli/src/flet_cli/utils/distros.py51 # Create the symbolic link
MEDIUM…s/flet/integration_tests/controls/core/test_pagelet.py8# Create a new flet_app instance for each test method
MEDIUM…ages/flet/integration_tests/controls/core/test_icon.py8# Create a new flet_app instance for each test method
MEDIUM…s/flet/integration_tests/controls/core/test_control.py8# Create a new flet_app instance for each test method
MEDIUM…integration_tests/controls/core/test_responsive_row.py8# Create a new flet_app instance for each test method
MEDIUM…flet/integration_tests/controls/core/test_page_view.py8# Create a new flet_app instance for each test method
MEDIUM…tion_tests/controls/theme/test_expansion_tile_theme.py8# Create a new flet_app instance for each test method
MEDIUM…gration_tests/controls/theme/test_text_button_theme.py8# Create a new flet_app instance for each test method
MEDIUM…ts/controls/theme/test_floating_action_button_theme.py8# Create a new flet_app instance for each test method
MEDIUM…ion_tests/controls/theme/test_outlined_button_theme.py8# Create a new flet_app instance for each test method
MEDIUM…n_tests/controls/theme/test_date_range_picker_theme.py10# Create a new flet_app instance for each test method
MEDIUM…gration_tests/controls/theme/test_icon_button_theme.py8# Create a new flet_app instance for each test method
MEDIUM…egration_tests/controls/theme/test_data_table_theme.py8# Create a new flet_app instance for each test method
MEDIUM…/integration_tests/controls/theme/test_button_theme.py8# Create a new flet_app instance for each test method
MEDIUM…ation_tests/controls/theme/test_filled_button_theme.py8# Create a new flet_app instance for each test method
MEDIUM…/integration_tests/controls/theme/test_color_scheme.py8# Create a new flet_app instance for each test method
MEDIUM…tegration_tests/controls/theme/test_list_tile_theme.py8# Create a new flet_app instance for each test method
MEDIUM…gration_tests/controls/theme/test_date_picker_theme.py10# Create a new flet_app instance for each test method
MEDIUM…tests/controls/cupertino/test_cupertino_date_picker.py10# Create a new flet_app instance for each test method
MEDIUM…ests/controls/cupertino/test_cupertino_alert_dialog.py10# Create a new flet_app instance for each test method
MEDIUM…gration_tests/controls/material/test_expansion_tile.py8# Create a new flet_app instance for each test method
MEDIUM…/integration_tests/controls/material/test_list_tile.py8# Create a new flet_app instance for each test method
MEDIUM…ntegration_tests/controls/material/test_date_picker.py10# Create a new flet_app instance for each test method
MEDIUM…/flet/integration_tests/controls/material/test_tabs.py8# Create a new flet_app instance for each test method
MEDIUM…integration_tests/controls/material/test_data_table.py8# Create a new flet_app instance for each test method
MEDIUM…ntegration_tests/controls/material/test_time_picker.py10# Create a new flet_app instance for each test method
MEDIUM…_tests/controls/material/test_reorderable_list_view.py8# Create a new flet_app instance for each test method
MEDIUM…let/integration_tests/controls/material/test_banner.py8# Create a new flet_app instance for each test method
MEDIUM…et/integration_tests/controls/material/test_divider.py8# Create a new flet_app instance for each test method
MEDIUM…tests/controls/material/test_floating_action_button.py8# Create a new flet_app instance for each test method
MEDIUM…t/integration_tests/controls/material/test_dropdown.py8# Create a new flet_app instance for each test method
MEDIUM…ation_tests/controls/material/test_segmented_button.py8# Create a new flet_app instance for each test method
MEDIUM…gration_tests/controls/material/test_navigation_bar.py8# Create a new flet_app instance for each test method
MEDIUM…tegration_tests/controls/material/test_alert_dialog.py10# Create a new flet_app instance for each test method
MEDIUM…t/integration_tests/controls/material/test_checkbox.py8# Create a new flet_app instance for each test method
MEDIUM…tion_tests/controls/material/test_date_range_picker.py10# Create a new flet_app instance for each test method
MEDIUM…/integration_tests/controls/services/test_clipboard.py13# Create a new flet_app instance for each test method.
MEDIUM…egration_tests/controls/services/test_storage_paths.py9# Create a new flet_app instance for each test method.
MEDIUM…et/integration_tests/controls/services/test_battery.py8# Create a new flet_app instance for each test method.
MEDIUM…ion_tests/controls/services/test_shared_preferences.py10# Create a new flet_app instance for each test method.
MEDIUM.github/workflows/ci.yml527 # Create a compressed tarball of the "flet" directory for distribution
MEDIUMclient/pubspec.yaml115# The following section is specific to Flutter.
Excessive Try-Catch Wrapping90 hits · 110 pts
SeverityFileLineSnippet
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py86 except Exception:
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py229 except Exception: # pragma: no cover
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py331 except Exception: # pragma: no cover
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py730 except Exception:
LOWtools/crocodocs/src/crocodocs/pypi_index.py44except Exception:
LOWtools/crocodocs/src/crocodocs/pypi_index.py207 except Exception:
LOWtools/crocodocs/src/crocodocs/pypi_index.py214 except Exception:
LOWtools/crocodocs/src/crocodocs/pypi_index.py337 except Exception as e:
LOWtools/crocodocs/src/crocodocs/pypi_index.py373 except Exception:
LOWtools/crocodocs/src/crocodocs/pypi_index.py394 except Exception as e:
LOWtools/crocodocs/src/crocodocs/pypi_index.py487 except Exception as e:
LOWtools/crocodocs/src/crocodocs/generate.py249 except Exception as exc: # noqa: BLE001
LOWtools/crocodocs/src/crocodocs/watch.py258 except Exception as exc: # noqa: BLE001
LOWsdk/python/examples/cookbook/cpu_bound_png_stream.py63 except Exception:
MEDIUMsdk/python/examples/extensions/video/events/main.py22 print(f"Error: {e.data}")
LOWsdk/python/examples/extensions/camera/example_1/main.py388 except Exception as ex:
LOW…ython/examples/extensions/audio_recorder/basic/main.py32 except Exception as e:
MEDIUMsdk/python/examples/extensions/lottie/example_1/main.py15 on_error=lambda e: print(f"Error loading Lottie: {e.data}"),
MEDIUMsdk/python/examples/extensions/lottie/example_1/main.py24 on_error=lambda e: print(f"Error loading Lottie: {e.data}"),
LOW…mples/controls/core/types/launch_mode/showcase/main.py18 except Exception as ex:
MEDIUM…mples/controls/core/types/launch_mode/showcase/main.py11def check_support():
LOW…les/controls/core/types/assertiveness/showcase/main.py18 except Exception as ex:
MEDIUM…les/controls/core/types/assertiveness/showcase/main.py11def announce():
LOWsdk/python/examples/community/mind_queue/main.py204 except Exception as ex:
LOWsdk/python/examples/community/mind_queue/main.py315 except Exception as ex:
LOWsdk/python/examples/community/mind_queue/main.py328 except Exception as ex:
LOWsdk/python/examples/community/mind_queue/main.py339 except Exception as ex:
LOWsdk/python/examples/community/mind_queue/main.py363 except Exception as ex:
LOWsdk/python/examples/community/mind_queue/main.py388 except Exception as ex:
MEDIUMsdk/python/examples/community/mind_queue/main.py181def on_add(ev):
LOWsdk/python/examples/apps/studio_gallery/calculator.py28 except Exception:
LOWsdk/python/examples/apps/studio_gallery/calculator.py34 except Exception:
LOWsdk/python/examples/apps/studio_gallery/calculator.py37 except Exception:
MEDIUMsdk/python/examples/apps/studio_gallery/calculator.py31def parse_float(v, fallback=0.0):
LOW…hon/examples/apps/declarative/component_dialog/main.py43 except Exception as e:
LOWsdk/python/examples/services/storagepaths/basic/main.py33 except Exception as e:
LOW…k/python/packages/flet-cli/src/flet_cli/utils/plist.py36 except Exception:
LOW…es/flet-cli/src/flet_cli/utils/project_dependencies.py130 except Exception:
LOW…thon/packages/flet-cli/src/flet_cli/commands/create.py139 except Exception as e:
MEDIUM…ython/packages/flet-cli/src/flet_cli/commands/serve.py101 console.print(f"Error: {e}", style=error_style)
LOW…n/packages/flet-cli/src/flet_cli/commands/emulators.py260 except Exception as exc: # pragma: no cover - defensive
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py1218 except Exception as e:
LOW…ages/flet-web/src/flet_web/fastapi/flet_app_manager.py136 except Exception as e:
LOW…ages/flet-web/src/flet_web/fastapi/flet_app_manager.py143 except Exception:
LOW…ages/flet-web/src/flet_web/fastapi/flet_app_manager.py180 except Exception as e:
MEDIUM…ages/flet-web/src/flet_web/fastapi/flet_app_manager.py133def _connect():
LOW…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py180 except Exception as e:
LOW…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py206 except Exception:
LOW…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py228 except Exception as e:
LOW…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py306 except Exception as e:
MEDIUMsdk/python/packages/flet/src/flet/version.py70 print(f"Error getting Git version: {e}", file=sys.stderr)
MEDIUMsdk/python/packages/flet/src/flet/version.py72 print(f"Error running Git: {e}", file=sys.stderr)
LOWsdk/python/packages/flet/src/flet/version.py134 except Exception as e:
MEDIUMsdk/python/packages/flet/src/flet/version.py135 print(f"Error parsing {fvmrc_path!r}: {e}", file=sys.stderr)
LOWsdk/python/packages/flet/src/flet/app.py358 except Exception as e:
LOW…on/packages/flet/src/flet/utils/griffe_deprecations.py64 except Exception:
LOW…on/packages/flet/src/flet/utils/griffe_deprecations.py242 except Exception:
LOW…on/packages/flet/src/flet/utils/griffe_deprecations.py245 except Exception:
LOWsdk/python/packages/flet/src/flet/utils/deprecated.py31 except Exception:
LOWsdk/python/packages/flet/src/flet/utils/object_model.py37 except Exception:
30 more matches not shown…
Deep Nesting85 hits · 85 pts
SeverityFileLineSnippet
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py43
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py166
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py214
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py585
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py669
LOWtools/crocodocs/src/crocodocs/partials.py150
LOWtools/crocodocs/src/crocodocs/partials.py219
LOWtools/crocodocs/src/crocodocs/generate.py194
LOWtools/crocodocs/src/crocodocs/docs.py32
LOWtools/crocodocs/src/crocodocs/scripts/cli_to_md.py9
LOWsdk/python/examples/extensions/camera/example_1/main.py27
LOWsdk/python/examples/extensions/camera/example_1/main.py330
LOW…ples/tutorials/solitaire/solitaire-final-part1/card.py116
LOW…n/examples/tutorials/solitaire/solitaire-final/card.py69
LOW…n/examples/tutorials/solitaire/solitaire-final/card.py108
LOW…mples/tutorials/solitaire/solitaire-game-rules/card.py118
LOWsdk/python/examples/tutorials/calculator/calc5.py89
LOWsdk/python/examples/tutorials/calculator/calc5.py141
LOWsdk/python/examples/tutorials/calculator/calc.py89
LOWsdk/python/examples/tutorials/calculator/calc.py141
LOW…utorials/solitaire_declarative/solitaire_final/main.py246
LOWsdk/python/examples/apps/calculator/main.py89
LOWsdk/python/examples/apps/calculator/main.py141
LOWsdk/python/examples/apps/studio_gallery/minesweeper.py55
LOWsdk/python/examples/apps/studio_gallery/minesweeper.py85
LOW…k/python/examples/apps/declarative/minesweeper/main.py60
LOW…k/python/examples/apps/declarative/minesweeper/main.py90
LOWsdk/python/examples/apps/declarative/trolli/main.py27
LOWsdk/python/examples/apps/declarative/trolli/main.py50
LOWsdk/python/examples/apps/icons_browser/main.py20
LOWsdk/python/examples/apps/icons_browser/main.py74
LOWsdk/python/examples/services/storagepaths/basic/main.py4
LOW…ckages/flet-charts/src/flet_charts/matplotlib_chart.py422
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py59
LOW…thon/packages/flet-cli/src/flet_cli/utils/processes.py11
LOW…python/packages/flet-cli/src/flet_cli/utils/distros.py10
LOW…python/packages/flet-cli/src/flet_cli/utils/distros.py27
LOW…python/packages/flet-cli/src/flet_cli/commands/pack.py157
LOW…python/packages/flet-cli/src/flet_cli/commands/pack.py182
LOW…/python/packages/flet-cli/src/flet_cli/commands/run.py381
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py1124
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py1264
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py1328
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py1466
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py1740
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py2022
LOW…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py140
LOW…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py235
LOW…ython/packages/flet/tests/test_validation_benchmark.py22
LOWsdk/python/packages/flet/src/flet/version.py111
LOWsdk/python/packages/flet/src/flet/app.py142
LOWsdk/python/packages/flet/src/flet/app.py316
LOWsdk/python/packages/flet/src/flet/app.py329
LOWsdk/python/packages/flet/src/flet/utils/object_model.py10
LOW…/python/packages/flet/src/flet/utils/platform_utils.py114
LOWsdk/python/packages/flet/src/flet/utils/validation.py1755
LOWsdk/python/packages/flet/src/flet/controls/page.py749
LOWsdk/python/packages/flet/src/flet/controls/page.py1358
LOW…/python/packages/flet/src/flet/controls/value_types.py85
LOW…python/packages/flet/src/flet/controls/base_control.py402
25 more matches not shown…
Cross-Language Confusion (JS/TS)8 hits · 55 pts
SeverityFileLineSnippet
HIGHclient/web/python-worker.js72 print("python_module_name:", python_module_name)
HIGHclient/web/python-worker.js73 print("micropip_include_pre:", micropip_include_pre)
HIGHclient/web/python-worker.js76 print("Downloading app archive")
HIGHclient/web/python-worker.js86 elif _archive_path.endswith((".tar.gz", ".tgz")):
HIGHclient/web/python-worker.js95 print("Saving script to a file")
HIGHclient/web/python-worker.js101 print(f"Adding {pkgs_path} to sys.path")
HIGHclient/web/python-worker.js122 print("Loading requirements.txt:", deps)
HIGHclient/web/python-worker.js145 print("Loading pyproject.toml deps:", pyproject_deps)
Over-Commented Block37 hits · 37 pts
SeverityFileLineSnippet
LOW…utter/flet_charts/lib/src/matplotlib_chart_canvas.dart1import 'dart:async';
LOW…/integration_tests/controls/material/test_list_tile.py281 # await flet_app.page.take_screenshot(
LOW…ation_tests/examples/controls/core/test_placeholder.py21@pytest.mark.parametrize(
LOW…ython/packages/flet/tests/test_object_diff_in_place.py221 assert u_msg[0] == [0]
LOW…ython/packages/flet/tests/test_object_diff_in_place.py241 # "controls": [
LOW…ython/packages/flet/tests/test_object_diff_in_place.py261 # "_i": 26,
LOW…python/packages/flet/src/flet/controls/object_patch.py1#
LOW…python/packages/flet/src/flet/controls/object_patch.py841 self._item_removed(path, key, old, frozen=frozen)
LOW…python/packages/flet/src/flet/controls/object_patch.py1141 # Reconciled controls are fresh Python objects that take over
LOWsdk/python/packages/flet/src/flet/components/router.py641 prev_route_handler_ref = use_ref(None)
LOWsdk/python/packages/flet/src/flet/components/router.py681
LOWsdk/python/packages/flet/src/flet/components/router.py821 # Each route component should return a View (with appbar, controls,
LOW…/packages/flet/src/flet/components/hooks/use_dialog.py81 if hasattr(dialog, "_frozen"):
LOW…/packages/flet/src/flet/components/hooks/use_dialog.py101 dialog.open = True
LOW…s/flet-map/src/flutter/flet_map/lib/src/utils/map.dart181}
LOWpackages/flet/lib/src/flet_backend.dart381 /// properties [props] to update the control's state. The [props] map
LOWpackages/flet/lib/src/utils/time.dart1import 'package:flutter/cupertino.dart';
LOWpackages/flet/lib/src/models/control.dart141 /// Triggers a control event.
LOWpackages/flet/lib/src/models/control.dart161
LOWpackages/flet/lib/src/models/control.dart261
LOWpackages/flet/lib/src/models/control.dart281 /// tree_index := [[0, {"property|position 1": [index, {"property|position 2"}], ...}]
LOWpackages/flet/lib/src/models/control.dart301 /// }
LOWpackages/flet/lib/src/protocol/session_payload.dart1class SessionPayload {
LOWpackages/flet/lib/src/controls/cupertino_button.dart101 // defaultBackgroundColor: Colors.transparent,
LOW.github/scripts/update_build_version.sh1#!/usr/bin/env bash
LOW.github/scripts/update_build_version.sh21# - Development builds get versions like "1.3.0+45" (PyPI: "1.3.0.dev45").
LOWclient/pubspec.yaml1name: flet_client
LOWclient/pubspec.yaml101
LOWclient/pubspec.yaml121
LOWclient/pubspec.yaml141 # - asset: fonts/Schyler-Regular.ttf
LOWclient/analysis_options.yaml1# This file configures the analyzer, which statically analyzes Dart code to
LOWclient/analysis_options.yaml21 # or a specific dart file by using the `// ignore: name_of_lint` and
LOWclient/linux/flutter/generated_plugin_registrant.h1//
LOWclient/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_
LOWclient/windows/runner/win32_window.cpp1#include "win32_window.h"
LOWclient/windows/runner/resource.h1//{{NO_DEPENDENCIES}}
LOWclient/windows/flutter/generated_plugin_registrant.h1//
Verbosity Indicators19 hits · 31 pts
SeverityFileLineSnippet
LOW…utorials/solitaire_declarative/solitaire_final/main.py1# Step 8: Move piles of cards from stackable slots to stackable slots.
LOW…/solitaire_declarative/drag-and-drop/step3_field_gd.py1# Step 3: Place the card into a slot if close enough when dropped, otherwise bounce
LOW…/solitaire_declarative/drag-and-drop/step6_field_gd.py1# Step 6: Put cards into slot1, slot2, slot3 with offset, in other slots without offset.
LOW…/solitaire_declarative/drag-and-drop/step5_field_gd.py1# Step 5: Slot has piles of Cards. When a Card is dropped into a Slot, it becomes part
LOW…/solitaire_declarative/drag-and-drop/step7_field_gd.py1# Step 7: Refactor calculations to be more readable and maintainable.
LOW…/solitaire_declarative/drag-and-drop/step2_field_gd.py1# Step 2: Place the card into a slot if close enough when dropped, otherwise bounce
LOW…/solitaire_declarative/drag-and-drop/step1_field_gd.py1# Step 1: Basic drag-and-drop of rectangles (cards) within a bounded area.
LOW…/solitaire_declarative/drag-and-drop/step8_field_gd.py1# Step 8: Move piles of cards from stackable slots to stackable slots.
LOW…/solitaire_declarative/drag-and-drop/step4_field_gd.py1# Step 4: Place the card into a slot if close enough when dropped, otherwise
LOW…k/python/examples/apps/declarative/minesweeper/main.py1# Step 1: Basic drag-and-drop of rectangles (cards) within a bounded area.
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py107 # Step 1: Check if JAVA_HOME is set and valid
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py113 # Step 2: On macOS, try /usr/libexec/java_home
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py126 # Step 3: Determine platform-specific download URL
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py137 # Step 4: Check if JDK is already installed
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py139 # Step 5: Download and extract JDK
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py155 # Step 6: Clean up archive
LOW…ples/controls/material/test_reorderable_drag_handle.py51 # Step 1: move item 0 downward and capture the intermediate state.
LOW…ples/controls/material/test_reorderable_drag_handle.py60 # Step 2: continue dragging the same item downward and capture again.
LOW…ples/controls/material/test_reorderable_drag_handle.py70 # Step 3: move item 0 to its expected final position.
Cross-Language Confusion12 hits · 30 pts
SeverityFileLineSnippet
HIGHsdk/python/packages/flet/src/flet/controls/theme.py2118 If this is null, the time picker defaults to the overall theme's
HIGHsdk/python/packages/flet/src/flet/controls/theme.py2183 If this is null, the time picker defaults to the overall theme's
HIGH…/packages/flet/src/flet/controls/material/datatable.py271 If this is not null, then this row is selectable. The current selection state of
HIGH…/packages/flet/src/flet/controls/material/snack_bar.py312 If not provided, but the snackbar :attr:`action` is not null,
HIGH…/flet/src/flet/controls/material/form_field_control.py207 If non-null, the text is displayed below the input decorator, in the same location
HIGH…/flet/src/flet/controls/material/form_field_control.py239 If non-null, the border's color animates to red
HIGH…ckages/flet/src/flet/controls/material/alert_dialog.py169 If that is null, defaults to color scheme's :attr:`flet.ColorScheme.secondary` if
HIGH…hon/packages/flet/src/flet/controls/material/slider.py209 If not null, a secondary track using `secondary_active_color` is drawn between
HIGH…packages/flet/src/flet/controls/material/search_bar.py218 If null, then the default value is 8.0 horizontally.
HIGH…n/packages/flet/src/flet/controls/material/dropdown.py210 If this is not null, the menu items will have extra paddings to
HIGH…n/packages/flet/src/flet/controls/material/dropdown.py257 If non-null, the border's color animates to red and the :attr:`helper_text` is
HIGH…n/packages/flet/src/flet/controls/material/dropdown.py378 If non-null, the text is displayed below the input decorator, in the same location
Fake / Example Data20 hits · 19 pts
SeverityFileLineSnippet
LOW…s/controls/core/types/list_tile_style/showcase/main.py22 title=ft.Text("Jane Doe"),
LOW…/core/types/list_tile_title_alignment/showcase/main.py22 title=ft.Text("Jane Doe"),
LOWsdk/python/examples/controls/core/canvas/text/main.py61 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, "
LOWsdk/python/examples/controls/core/canvas/text/main.py61 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, "
LOW…thon/examples/controls/core/text/custom_styles/main.py73 "Lorem ipsum dolor sit amet, consectetur adipiscing "
LOW…thon/examples/controls/core/text/custom_styles/main.py73 "Lorem ipsum dolor sit amet, consectetur adipiscing "
LOW…thon/examples/controls/core/text/custom_styles/main.py98 "Lorem ipsum dolor sit amet, consectetur adipiscing "
LOW…thon/examples/controls/core/text/custom_styles/main.py98 "Lorem ipsum dolor sit amet, consectetur adipiscing "
LOW…ntrols/core/control/expand_loose_chat_messages/main.py57 "Lorem Ipsum is simply dummy text of the printing and "
LOW…ntrols/core/control/expand_loose_chat_messages/main.py58 "typesetting industry. Lorem Ipsum has been the industry's "
LOW…upertino/cupertino_text_field/selection_change/main.py19 value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
LOW…upertino/cupertino_text_field/selection_change/main.py19 value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
LOW…/controls/material/text_field/selection_change/main.py31 "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
LOW…/controls/material/text_field/selection_change/main.py31 "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
LOW…es/flet/integration_tests/controls/core/test_canvas.py538 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "
LOW…es/flet/integration_tests/controls/core/test_canvas.py538 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "
LOW…ion_tests/examples/controls/material/test_list_tile.py16 title="Jane Doe",
LOW…ion_tests/examples/controls/material/test_textfield.py31 ft.TextField(label="Name", hint_text="Jane Doe"),
LOW…/packages/flet/src/flet/controls/material/list_tile.py97 title="Jane Doe",
LOW…/packages/flet/src/flet/controls/material/textfield.py279 ft.TextField(label="Name", hint_text="Jane Doe")
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippet
LOW…kages/flet-cli/src/flet_cli/__pyinstaller/win_utils.py123 # Check if the overlay is still present
LOW…python/packages/flet-cli/src/flet_cli/utils/distros.py43 # Check if the member is a symbolic link
LOW.github/scripts/update_build_version.sh61# Print values for debugging in logs
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippet
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py166# Example usage
LOW…python/packages/flet-cli/src/flet_cli/utils/flutter.py93# Example usage:
LOWpackages/flet/lib/src/utils/launch_url.dart24/// Example usage:
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippet
LOW…ython/packages/flet/src/flet/controls/material/tabs.py214 and :attr:`flet.TabBarView.controls`. Don't forget to update
MEDIUMclient/pubspec.yaml118 # included with your application, so that you can use the icons in
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWsdk/python/packages/flet/src/flet/controls/page.py765 def run_task(