Build realtime web, mobile and desktop apps in Python only. No frontend experience required.
This report presents the forensic synthetic code analysis of flet-dev/flet, a Python project with 16,335 GitHub stars. SynthScan v2.0 examined 299,206 lines of code across 3370 source files, recording 2354 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 11.1 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2354 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | website/docs/tutorials/solitaire.md | 0 | returns list of cards that will be dragged together, starting with the current card | STRING |
| HIGH | …ples/tutorials/solitaire/solitaire-final-part1/card.py | 0 | returns list of cards that will be dragged together, starting with the current card | STRING |
| HIGH | …mples/tutorials/solitaire/solitaire-game-setup/card.py | 0 | returns list of cards that will be dragged together, starting with the current card | STRING |
| HIGH | …les/tutorials/solitaire/solitaire-fanned-piles/card.py | 0 | returns list of cards that will be dragged together, starting with the current card | STRING |
| HIGH | …k/python/examples/controls/core/column/spacing/main.py | 0 | generates a list of custom containers with length `count`. | STRING |
| HIGH | …python/examples/controls/core/column/alignment/main.py | 0 | generates a list of custom containers with length `count`. | STRING |
| HIGH | …ples/controls/core/column/horizontal_alignment/main.py | 0 | generates a list of custom containers with length `count`. | STRING |
| HIGH | …utorials/solitaire_declarative/solitaire_final/main.py | 0 | return the nearest slot to the card within snap_threshold, or none. | STRING |
| HIGH | …/solitaire_declarative/drag-and-drop/step7_field_gd.py | 0 | return the nearest slot to the card within snap_threshold, or none. | STRING |
| HIGH | …/solitaire_declarative/drag-and-drop/step8_field_gd.py | 0 | return the nearest slot to the card within snap_threshold, or none. | STRING |
| HIGH | …/solitaire_declarative/drag-and-drop/step6_field_gd.py | 0 | initialize homes & coordinates: card1 -> deck, card2 -> waste. | STRING |
| HIGH | …/solitaire_declarative/drag-and-drop/step5_field_gd.py | 0 | initialize homes & coordinates: card1 -> deck, card2 -> waste. | STRING |
| HIGH | …/solitaire_declarative/drag-and-drop/step7_field_gd.py | 0 | initialize homes & coordinates: card1 -> deck, card2 -> waste. | STRING |
| HIGH | …/solitaire_declarative/drag-and-drop/step4_field_gd.py | 0 | initialize homes & coordinates: card1 -> deck, card2 -> waste. | STRING |
| HIGH | …s/flet-charts/src/flet_charts/line_chart_data_point.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | …ages/flet-charts/src/flet_charts/scatter_chart_spot.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | …/flet-charts/src/flet_charts/candlestick_chart_spot.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | …/packages/flet-charts/src/flet_charts/bar_chart_rod.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | …kages/flet-charts/src/flet_charts/candlestick_chart.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | …k/python/packages/flet-charts/src/flet_charts/types.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | …thon/packages/flet-charts/src/flet_charts/bar_chart.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | …/packages/flet-charts/src/flet_charts/scatter_chart.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | sdk/python/packages/flet/src/flet/controls/box.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | sdk/python/packages/flet/src/flet/controls/alignment.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | …k/python/packages/flet/src/flet/controls/text_style.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | sdk/python/packages/flet/src/flet/controls/animation.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | …ython/packages/flet/src/flet/controls/border_radius.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | sdk/python/packages/flet/src/flet/controls/buttons.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | sdk/python/packages/flet/src/flet/controls/transform.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | sdk/python/packages/flet/src/flet/controls/geometry.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | sdk/python/packages/flet/src/flet/controls/painting.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | sdk/python/packages/flet/src/flet/controls/border.py | 0 | returns a copy of this object with the specified properties overridden. | STRING |
| HIGH | …kages/flet-charts/src/flet_charts/candlestick_chart.py | 0 | configures the appearance of the right axis, its title and labels. | STRING |
| HIGH | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 0 | configures the appearance of the right axis, its title and labels. | STRING |
| HIGH | …thon/packages/flet-charts/src/flet_charts/bar_chart.py | 0 | configures the appearance of the right axis, its title and labels. | STRING |
| HIGH | …/packages/flet-charts/src/flet_charts/scatter_chart.py | 0 | configures the appearance of the right axis, its title and labels. | STRING |
| HIGH | …kages/flet-charts/src/flet_charts/candlestick_chart.py | 0 | configures the appearance of the bottom axis, its title and labels. | STRING |
| HIGH | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 0 | configures the appearance of the bottom axis, its title and labels. | STRING |
| HIGH | …thon/packages/flet-charts/src/flet_charts/bar_chart.py | 0 | configures the appearance of the bottom axis, its title and labels. | STRING |
| HIGH | …/packages/flet-charts/src/flet_charts/scatter_chart.py | 0 | configures the appearance of the bottom axis, its title and labels. | STRING |
| HIGH | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 0 | applies a padding for showing contents inside the tooltip. | STRING |
| HIGH | …thon/packages/flet-charts/src/flet_charts/bar_chart.py | 0 | applies a padding for showing contents inside the tooltip. | STRING |
| HIGH | …/packages/flet-charts/src/flet_charts/scatter_chart.py | 0 | applies a padding for showing contents inside the tooltip. | STRING |
| HIGH | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 0 | forces the tooltip to shift horizontally inside the chart, if overflow happens. | STRING |
| HIGH | …thon/packages/flet-charts/src/flet_charts/bar_chart.py | 0 | forces the tooltip to shift horizontally inside the chart, if overflow happens. | STRING |
| HIGH | …/packages/flet-charts/src/flet_charts/scatter_chart.py | 0 | forces the tooltip to shift horizontally inside the chart, if overflow happens. | STRING |
| HIGH | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 0 | forces the tooltip to shift vertically inside the chart, if overflow happens. | STRING |
| HIGH | …thon/packages/flet-charts/src/flet_charts/bar_chart.py | 0 | forces the tooltip to shift vertically inside the chart, if overflow happens. | STRING |
| HIGH | …/packages/flet-charts/src/flet_charts/scatter_chart.py | 0 | forces the tooltip to shift vertically inside the chart, if overflow happens. | STRING |
| HIGH | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 0 | configures the appearance of the left axis, its title and labels. | STRING |
| HIGH | …thon/packages/flet-charts/src/flet_charts/bar_chart.py | 0 | configures the appearance of the left axis, its title and labels. | STRING |
| HIGH | …/packages/flet-charts/src/flet_charts/scatter_chart.py | 0 | configures the appearance of the left axis, its title and labels. | STRING |
| HIGH | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 0 | configures the appearance of the top axis, its title and labels. | STRING |
| HIGH | …thon/packages/flet-charts/src/flet_charts/bar_chart.py | 0 | configures the appearance of the top axis, its title and labels. | STRING |
| HIGH | …/packages/flet-charts/src/flet_charts/scatter_chart.py | 0 | configures the appearance of the top axis, its title and labels. | STRING |
| HIGH | …olor-pickers/src/flet_color_pickers/hue_ring_picker.py | 0 | called when the primary color is changed. the :attr:`~flet.event.data` property of the event handler argument contains t | STRING |
| HIGH | …t-color-pickers/src/flet_color_pickers/block_picker.py | 0 | called when the primary color is changed. the :attr:`~flet.event.data` property of the event handler argument contains t | STRING |
| HIGH | …t-color-pickers/src/flet_color_pickers/color_picker.py | 0 | called when the primary color is changed. the :attr:`~flet.event.data` property of the event handler argument contains t | STRING |
| HIGH | …olor-pickers/src/flet_color_pickers/material_picker.py | 0 | called when the primary color is changed. the :attr:`~flet.event.data` property of the event handler argument contains t | STRING |
| 94 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 3 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/config.py | 3 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/frontmatter.py | 3 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/partials.py | 3 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/generate.py | 3 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/docs.py | 3 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/cli.py | 3 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/assets.py | 3 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/sidebars.py | 3 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/progress.py | 3 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 9 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 10 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 11 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 12 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 13 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 14 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 15 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 16 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 17 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 18 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 19 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 20 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 21 | CODE | |
| LOW | sdk/python/examples/apps/flet_build_test/src/main.py | 22 | CODE | |
| LOW | …examples/apps/declarative/trolli/components/sidebar.py | 1 | CODE | |
| LOW | …n/examples/apps/declarative/trolli/components/board.py | 1 | CODE | |
| LOW | …xamples/apps/declarative/trolli/components/__init__.py | 1 | CODE | |
| LOW | …xamples/apps/declarative/trolli/components/__init__.py | 2 | CODE | |
| LOW | …xamples/apps/declarative/trolli/components/__init__.py | 3 | CODE | |
| LOW | …xamples/apps/declarative/trolli/components/__init__.py | 4 | CODE | |
| LOW | …examples/apps/declarative/trolli/components/dialogs.py | 1 | CODE | |
| LOW | …examples/apps/declarative/trolli/components/app_bar.py | 1 | CODE | |
| LOW | sdk/python/examples/apps/dialogs/main.py | 15 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 1 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 1 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 1 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 1 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 7 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 8 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 8 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 9 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 10 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 10 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 10 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 15 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 15 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 19 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 19 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 20 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 20 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 20 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 20 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 26 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 27 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 27 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 31 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 31 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 31 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 36 | CODE | |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 36 | CODE | |
| 885 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tools/crocodocs/src/crocodocs/partials.py | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tools/crocodocs/src/crocodocs/partials.py | 76 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/crocodocs/src/crocodocs/partials.py | 145 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tools/crocodocs/src/crocodocs/partials.py | 147 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tools/crocodocs/src/crocodocs/partials.py | 214 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/crocodocs/src/crocodocs/partials.py | 216 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/modal_routes/main.py | 21 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/modal_routes/main.py | 23 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/modal_routes/main.py | 95 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/modal_routes/main.py | 97 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/modal_routes/main.py | 145 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/modal_routes/main.py | 147 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 3 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 5 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 20 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 64 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 66 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 129 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 131 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 187 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured_views/main.py | 189 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 7 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 9 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 33 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 63 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 65 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 108 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 110 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 167 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 169 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 282 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | sdk/python/examples/apps/router/featured/main.py | 284 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …n/packages/flet-cli/tests/test_project_dependencies.py | 10 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …n/packages/flet-cli/tests/test_project_dependencies.py | 12 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …n/packages/flet-cli/tests/test_project_dependencies.py | 143 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …n/packages/flet-cli/tests/test_project_dependencies.py | 145 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …let/integration_tests/examples/apps/test_use_dialog.py | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …let/integration_tests/examples/apps/test_use_dialog.py | 17 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …let/integration_tests/examples/apps/test_use_dialog.py | 77 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …let/integration_tests/examples/apps/test_use_dialog.py | 79 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …let/integration_tests/examples/apps/test_use_dialog.py | 142 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …let/integration_tests/examples/apps/test_use_dialog.py | 144 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 44 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 46 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 272 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 274 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 408 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 410 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 488 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 490 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 698 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 700 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 810 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …es/flet/integration_tests/examples/apps/test_router.py | 812 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sdk/python/packages/flet/tests/test_router_recursive.py | 26 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sdk/python/packages/flet/tests/test_router_recursive.py | 28 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sdk/python/packages/flet/tests/test_router_recursive.py | 92 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | sdk/python/packages/flet/tests/test_router_recursive.py | 94 | # --------------------------------------------------------------------------- | COMMENT |
| 76 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 166 | def _modernize_annotation_text(text: str) -> str: | CODE |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 432 | def _normalize_python_statement(code: str) -> tuple[str, bool]: | CODE |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 476 | def _formatted_function_signature(obj: Any) -> str: | CODE |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 500 | def _formatted_attribute_signature(obj: Any) -> str | None: | CODE |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 115 | def _candidate_simple_root_urls(base_url: str) -> list[str]: | CODE |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 158 | def _parse_anchor_text_and_href(html: str) -> list[tuple[str, str]]: | CODE |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 185 | def _filename_from_href_or_text(text: str, href: str) -> str: | CODE |
| LOW⚡ | tools/crocodocs/src/crocodocs/pypi_index.py | 221 | def _platforms_from_wheel_tags(tags) -> set[str]: | CODE |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 311 | def _fetch_packages_and_versions_cached( | CODE |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 405 | def _merge_duplicate_projects(packages_raw: ProjectIndex) -> ProjectIndex: | CODE |
| LOW | tools/crocodocs/src/crocodocs/partials.py | 22 | def _normalize_local_markdown_links(content: str) -> str: | CODE |
| LOW | tools/crocodocs/src/crocodocs/partials.py | 39 | def _escape_mdx_text_outside_code(content: str) -> str: | CODE |
| LOW⚡ | tools/crocodocs/src/crocodocs/partials.py | 67 | def _normalize_cli_partial_markdown(content: str) -> str: | CODE |
| LOW | tools/crocodocs/src/crocodocs/generate.py | 70 | def _extract_api_data_with_griffe( | CODE |
| LOW | tools/crocodocs/src/crocodocs/generate.py | 119 | def _should_skip_example_path(root: Path, path: Path) -> bool: | CODE |
| LOW | tools/crocodocs/src/crocodocs/generate.py | 170 | def _generate_examples_metadata(examples_root: Path, output_path: Path) -> int: | CODE |
| LOW | tools/crocodocs/src/crocodocs/docs.py | 32 | def extract_symbol_blocks_from_mdx( | CODE |
| LOW | tools/crocodocs/src/crocodocs/cli.py | 18 | def _add_shared_generate_arguments(parser: argparse.ArgumentParser) -> None: | CODE |
| LOW | tools/crocodocs/src/crocodocs/cli.py | 72 | def _apply_shared_generate_overrides(config, args: argparse.Namespace) -> None: | CODE |
| LOW | tools/crocodocs/src/crocodocs/sidebars.py | 61 | def _convert_category_mapping( | CODE |
| LOW | tools/crocodocs/src/crocodocs/sidebars.py | 104 | def _convert_labeled_source_entry( | CODE |
| LOW | tools/crocodocs/src/crocodocs/sidebars.py | 136 | def build_sidebars_from_source( | CODE |
| LOW | tools/crocodocs/src/crocodocs/sidebars.py | 157 | def write_sidebars_js_from_source( | CODE |
| LOW | …cs/src/crocodocs/scripts/cross_platform_permissions.py | 28 | def _load_cross_platform_permissions() -> dict: | CODE |
| LOW | …cs/src/crocodocs/scripts/cross_platform_permissions.py | 87 | def cross_platform_permissions_list() -> str: | CODE |
| LOW | tools/crocodocs/src/crocodocs/scripts/cli_to_md.py | 9 | def render_flet_cli_as_markdown( | CODE |
| LOW | website/plugins/remark-inject-example-headings.js | 86 | module.exports = function remarkInjectExampleHeadings() { | CODE |
| LOW | website/functions/api/confirm-subscription.js | 35 | async function subscribeMailingListMember(mailgunApiKey, listName, memberAddress) { | CODE |
| LOW | website/src/components/crocodocs/utils.js | 233 | export function firstSentenceFromDocstring(docstring, docstringSections) { | CODE |
| LOW | website/src/components/crocodocs/utils.js | 405 | function resolveRestCrossReference(role, target, context) { | CODE |
| LOW | website/src/components/crocodocs/utils.js | 545 | function renderTextWithCrossReferences(text, context, keyPrefix) { | CODE |
| LOW | website/src/components/crocodocs/utils.js | 580 | function preprocessCrossReferenceMarkdown(text, context) { | CODE |
| LOW | website/src/components/crocodocs/utils.js | 604 | function preprocessRestCrossReferenceMarkdown(text, context) { | CODE |
| LOW | website/src/components/crocodocs/utils.js | 735 | function normalizeDocstringMarkdown(docstring) { | CODE |
| LOW | website/src/theme/DocItem/Layout/index.js | 27 | function CrocoDocsTOCDesktopPlaceholder() { | CODE |
| LOW⚡ | …thon/examples/extensions/geolocator/geolocator/main.py | 29 | async def handle_permission_request(e: ft.Event[ft.OutlinedButton]): | CODE |
| LOW⚡ | …thon/examples/extensions/geolocator/geolocator/main.py | 37 | async def handle_get_permission_status(e: ft.Event[ft.OutlinedButton]): | CODE |
| LOW⚡ | …thon/examples/extensions/geolocator/geolocator/main.py | 44 | async def handle_get_current_position(e: ft.Event[ft.OutlinedButton]): | CODE |
| LOW⚡ | …thon/examples/extensions/geolocator/geolocator/main.py | 53 | async def handle_get_last_known_position(e): | CODE |
| LOW | …thon/examples/extensions/geolocator/geolocator/main.py | 64 | async def handle_location_service_enabled(e): | CODE |
| LOW | …thon/examples/extensions/geolocator/geolocator/main.py | 71 | async def handle_open_location_settings(e: ft.Event[ft.OutlinedButton]): | CODE |
| LOW | …n/examples/extensions/camera/camera_playground/main.py | 126 | def device_orientation_degrees(orientation: ft.DeviceOrientation | None) -> int: | CODE |
| LOW | …n/examples/extensions/camera/camera_playground/main.py | 149 | def apply_last_image_transform(src_width: int | None, src_height: int | None): | CODE |
| LOW | …mples/extensions/audio_recorder/audio_recorder/main.py | 45 | async def handle_audio_encoder_test(e: ft.Event[ft.Button]): | CODE |
| LOW | …/extensions/datatable2/sortable_and_selectable/main.py | 59 | def handle_row_selection_change(e: ft.Event[ftd.DataRow2]) -> None: | CODE |
| LOW | …ntrols/core/dismissible/dismissible_list_tiles/main.py | 5 | async def handle_dialog_action_click(e: ft.Event[ft.TextButton]): | CODE |
| LOW | …hon/examples/controls/core/semantics/semantics/main.py | 5 | def handle_gain_accessibility_focus(e: ft.Event[ft.Semantics]): | CODE |
| LOW | …hon/examples/controls/core/semantics/semantics/main.py | 8 | def handle_lose_accessibility_focus(e: ft.Event[ft.Semantics]): | CODE |
| LOW | …trols/cupertino/cupertino_navigation_bar/wired/main.py | 9 | def handle_nav_destination_change(e: ft.Event[ft.CupertinoNavigationBar]): | CODE |
| LOW | …/cupertino_timer_picker/cupertino_timer_picker/main.py | 15 | def handle_timer_picker_change(e: ft.Event[ft.CupertinoTimerPicker]): | CODE |
| LOW | …rols/material/expansion_tile/theme_mode_toggle/main.py | 18 | def handle_expansion_tile_change(e: ft.Event[ft.ExpansionTile]): | CODE |
| LOW | …es/controls/material/app_bar/theme_mode_toggle/main.py | 10 | def handle_checked_item_click(e: ft.Event[ft.PopupMenuItem]): | CODE |
| LOW | …ntrols/material/app_bar/actions_and_popup_menu/main.py | 7 | def handle_checked_item_click(e: ft.Event[ft.PopupMenuItem]): | CODE |
| LOW | …s/material/range_slider/handling_change_events/main.py | 7 | def handle_slider_change_start(e: ft.Event[ft.RangeSlider]): | CODE |
| LOW | …ls/material/data_table/sortable_and_selectable/main.py | 43 | def handle_row_selection_change(e: ft.Event[ft.DataRow]) -> None: | CODE |
| LOW | …s/controls/material/data_table/handling_events/main.py | 5 | def handle_row_selection_change(e: ft.Event[ft.DataRow]) -> None: | CODE |
| LOW | sdk/python/examples/apps/studio_gallery/video_player.py | 58 | def handle_playback_rate_change(e: ft.Event[ft.Slider]): | CODE |
| LOW | …/python/examples/apps/declarative/shape_drawer/main.py | 82 | def handle_secondary_tap_down(e: ft.TapEvent): | CODE |
| LOW | sdk/python/examples/apps/declarative/trolli/main.py | 37 | def parse_board_id_from_route(route: str) -> Optional[int]: | CODE |
| LOW | sdk/python/examples/apps/7guis/flight_booker/main.py | 28 | def handle_departure_picker_change(e: ft.Event[ft.DatePicker]): | CODE |
| 349 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/crocodocs/src/crocodocs/__init__.py | 3 | __all__ = ["__version__"] | CODE |
| LOW | …/examples/controls/material/data_table/spacing/main.py | 22 | def update_spacing() -> None: | CODE |
| LOW | …/examples/controls/material/data_table/spacing/main.py | 30 | def set_preset(horizontal_margin: float, column_spacing: float) -> None: | CODE |
| LOW | …xamples/apps/declarative/trolli/components/__init__.py | 6 | __all__ = [ | CODE |
| LOW | …s/flet-charts/src/flet_charts/line_chart_data_point.py | 7 | __all__ = ["LineChartDataPoint", "LineChartDataPointTooltip"] | CODE |
| LOW | …kages/flet-charts/src/flet_charts/pie_chart_section.py | 6 | __all__ = ["PieChartSection"] | CODE |
| LOW | …ages/flet-charts/src/flet_charts/scatter_chart_spot.py | 7 | __all__ = ["ScatterChartSpot", "ScatterChartSpotTooltip"] | CODE |
| LOW | …/flet-charts/src/flet_charts/candlestick_chart_spot.py | 7 | __all__ = ["CandlestickChartSpot", "CandlestickChartSpotTooltip"] | CODE |
| LOW | …/packages/flet-charts/src/flet_charts/bar_chart_rod.py | 8 | __all__ = ["BarChartRod", "BarChartRodTooltip"] | CODE |
| LOW | …hon/packages/flet-charts/src/flet_charts/chart_axis.py | 6 | __all__ = ["ChartAxis", "ChartAxisLabel"] | CODE |
| LOW | …ckages/flet-charts/src/flet_charts/matplotlib_chart.py | 25 | __all__ = [ | CODE |
| LOW | …let-charts/src/flet_charts/bar_chart_rod_stack_item.py | 6 | __all__ = ["BarChartRodStackItem"] | CODE |
| LOW | …kages/flet-charts/src/flet_charts/candlestick_chart.py | 9 | __all__ = [ | CODE |
| LOW | …ackages/flet-charts/src/flet_charts/bar_chart_group.py | 7 | __all__ = ["BarChartGroup"] | CODE |
| LOW | …ython/packages/flet-charts/src/flet_charts/__init__.py | 69 | __all__ = [ | CODE |
| LOW | …thon/packages/flet-charts/src/flet_charts/pie_chart.py | 8 | __all__ = ["PieChart", "PieChartEvent"] | CODE |
| LOW | …k/python/packages/flet-charts/src/flet_charts/types.py | 7 | __all__ = [ | CODE |
| LOW | …on/packages/flet-charts/src/flet_charts/radar_chart.py | 9 | __all__ = ["RadarChart", "RadarChartEvent", "RadarChartTitle", "RadarShape"] | CODE |
| LOW | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 9 | __all__ = [ | CODE |
| LOW | …packages/flet-charts/src/flet_charts/radar_data_set.py | 7 | __all__ = ["RadarDataSet", "RadarDataSetEntry"] | CODE |
| LOW | …thon/packages/flet-charts/src/flet_charts/bar_chart.py | 10 | __all__ = [ | CODE |
| LOW | …n/packages/flet-charts/src/flet_charts/plotly_chart.py | 16 | __all__ = ["PlotlyChart"] | CODE |
| LOW | …flet-charts/src/flet_charts/matplotlib_chart_canvas.py | 6 | __all__ = ["MatplotlibChartCanvas", "MatplotlibChartCanvasResizeEvent"] | CODE |
| LOW | …ackages/flet-charts/src/flet_charts/line_chart_data.py | 8 | __all__ = ["LineChartData"] | CODE |
| LOW | …/packages/flet-charts/src/flet_charts/scatter_chart.py | 9 | __all__ = ["ScatterChart", "ScatterChartEvent", "ScatterChartTooltip"] | CODE |
| LOW | …/python/packages/flet-video/src/flet_video/__init__.py | 27 | __all__ = [ | CODE |
| LOW | sdk/python/packages/flet-video/src/flet_video/types.py | 11 | __all__ = [ | CODE |
| LOW | sdk/python/packages/flet-video/src/flet_video/video.py | 22 | __all__ = ["Video"] | CODE |
| LOW | …ages/flet-flashlight/src/flet_flashlight/flashlight.py | 3 | __all__ = ["Flashlight"] | CODE |
| LOW | …ckages/flet-flashlight/src/flet_flashlight/__init__.py | 3 | __all__ = [ | CODE |
| LOW | sdk/python/packages/flet-ads/src/flet_ads/__init__.py | 10 | __all__ = [ | CODE |
| LOW | sdk/python/packages/flet-ads/src/flet_ads/types.py | 7 | __all__ = [ | CODE |
| LOW | sdk/python/packages/flet-ads/src/flet_ads/native_ad.py | 5 | __all__ = ["NativeAd"] | CODE |
| LOW | …let-audio-recorder/src/flet_audio_recorder/__init__.py | 17 | __all__ = [ | CODE |
| LOW | …s/flet-audio-recorder/src/flet_audio_recorder/types.py | 10 | __all__ = [ | CODE |
| LOW | …dio-recorder/src/flet_audio_recorder/audio_recorder.py | 16 | __all__ = ["AudioRecorder"] | CODE |
| LOW | …ython/packages/flet-camera/src/flet_camera/__init__.py | 21 | __all__ = [ | CODE |
| LOW | …k/python/packages/flet-camera/src/flet_camera/types.py | 10 | __all__ = [ | CODE |
| LOW | …/python/packages/flet-camera/src/flet_camera/camera.py | 20 | __all__ = ["Camera"] | CODE |
| LOW | …k/python/packages/flet-camera/src/flet_camera/utils.py | 5 | __all__ = ["detect_video_extension"] | CODE |
| LOW | …dler/src/flet_permission_handler/permission_handler.py | 6 | __all__ = ["PermissionHandler"] | CODE |
| LOW | …ission-handler/src/flet_permission_handler/__init__.py | 4 | __all__ = [ | CODE |
| LOW | …ermission-handler/src/flet_permission_handler/types.py | 3 | __all__ = [ | CODE |
| LOW | …olor-pickers/src/flet_color_pickers/hue_ring_picker.py | 5 | __all__ = ["HueRingPicker"] | CODE |
| LOW | …t-color-pickers/src/flet_color_pickers/block_picker.py | 5 | __all__ = ["BlockPicker"] | CODE |
| LOW | …/flet-color-pickers/src/flet_color_pickers/__init__.py | 13 | __all__ = [ | CODE |
| LOW | …src/flet_color_pickers/multiple_choice_block_picker.py | 5 | __all__ = ["MultipleChoiceBlockPicker"] | CODE |
| LOW | …t-color-pickers/src/flet_color_pickers/color_picker.py | 6 | __all__ = ["ColorLabelType", "ColorPicker", "HsvColor", "PaletteType"] | CODE |
| LOW | …olor-pickers/src/flet_color_pickers/material_picker.py | 5 | __all__ = ["MaterialPicker"] | CODE |
| LOW | …t-color-pickers/src/flet_color_pickers/slide_picker.py | 7 | __all__ = ["ColorModel", "SlidePicker"] | CODE |
| LOW | sdk/python/packages/flet-rive/src/flet_rive/__init__.py | 3 | __all__ = ["Rive"] | CODE |
| LOW | sdk/python/packages/flet-rive/src/flet_rive/rive.py | 6 | __all__ = ["Rive"] | CODE |
| LOW | …ckages/flet-datatable2/src/flet_datatable2/datarow2.py | 5 | __all__ = ["DataRow2"] | CODE |
| LOW | …ckages/flet-datatable2/src/flet_datatable2/__init__.py | 5 | __all__ = [ | CODE |
| LOW | …ages/flet-datatable2/src/flet_datatable2/datatable2.py | 8 | __all__ = ["DataTable2"] | CODE |
| LOW | …ges/flet-datatable2/src/flet_datatable2/datacolumn2.py | 6 | __all__ = ["DataColumn2", "DataColumnSize"] | CODE |
| LOW | sdk/python/packages/flet-web/src/flet_web/__init__.py | 23 | __all__ = [ | CODE |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/__init__.py | 9 | __all__ = [ | CODE |
| LOW | sdk/python/packages/flet/src/flet/version.py | 11 | __all__ = [ | CODE |
| LOW | sdk/python/packages/flet/src/flet/__init__.py | 621 | __all__ = [ | CODE |
| 236 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | sdk/python/packages/flet-video/src/flet_video/video.py | 363 | Captures a screenshot of the current video frame. Args: format: The image format to return | STRING |
| HIGH | …dio-recorder/src/flet_audio_recorder/audio_recorder.py | 58 | Starts recording audio and saves it to a file or streams it. If neither `upload` nor :attr:`on_stream` | STRING |
| HIGH | …on/packages/flet-cli/src/flet_cli/utils/android_sdk.py | 310 | Install a single SDK package when it is not already present. Args: home_dir: Android SDK h | STRING |
| HIGH | …on/packages/flet-cli/src/flet_cli/utils/android_sdk.py | 391 | Query installed SDK packages using `sdkmanager`. Args: home_dir: Android SDK home director | STRING |
| HIGH | …thon/packages/flet-cli/src/flet_cli/utils/processes.py | 12 | Execute a subprocess command with optional streamed logging. On Windows, the console output code page is tempo | STRING |
| HIGH | sdk/python/packages/flet-web/src/flet_web/uploads.py | 62 | Compute HMAC signature for upload URL validation. Signature derivation: - derive a short-lived signing key | STRING |
| HIGH | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 398 | Build signed upload URL for a file. Args: file_name: File name to be uploaded. | STRING |
| HIGH | sdk/python/packages/flet/src/flet/security/__init__.py | 76 | Decrypts data produced by `encrypt()`. Input format must be `base64url(salt + token)`, where the first 16 byte | STRING |
| HIGH | sdk/python/packages/flet/src/flet/security/__init__.py | 134 | Decrypts data produced by `encrypt_aes_gcm_256()`. Input format must be `base64url(salt + nonce + ciphertext_a | STRING |
| HIGH | sdk/python/packages/flet/src/flet/utils/vector.py | 178 | Returns a copy scaled to the specified magnitude. Args: value: Target magnitude. | STRING |
| HIGH | sdk/python/packages/flet/src/flet/utils/hashing.py | 20 | Calculates SHA-256 digest for a file. The file is read incrementally using `blocksize` chunks. Args: | STRING |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 480 | Validate that a field contains at least `min_count` visible controls. Property docstring Raises wordin | STRING |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 808 | Validate that a field value is an integer factor of `base`. Property docstring Raises wording: | STRING |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 866 | Validate that a field value is an integer multiple of `divisor`. Property docstring Raises wording: | STRING |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1011 | Validate that `value` belongs to a fixed set of allowed values. Property docstring Raises wording: | STRING |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1064 | Validate that at least one field rule passes. Args: rules: Field rules evaluated in declar | STRING |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1169 | Validate that a sized field has length greater than or equal to `minimum`. Property docstring Raises w | STRING |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1233 | Validate that a sized field has length equal to `expected`. Property docstring Raises wording: | STRING |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1296 | Validate that a sized field length is between bounds, inclusive. Property docstring Raises wording: | STRING |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1680 | Normalize `None` handling for field-level validators. Args: instance: Model or control instance being | STRING |
| HIGH | sdk/python/packages/flet/src/flet/utils/validation.py | 1718 | Load and normalize values for a field-vs-field comparison rule. Args: instance: Model or control insta | STRING |
| HIGH | …/packages/flet/src/flet/controls/scrollable_control.py | 379 | Moves the scroll position. Args: offset: Absolute scroll target in pixels. A negative valu | STRING |
| HIGH | sdk/python/packages/flet/src/flet/controls/colors.py | 86 | Selects a random color, with optional exclusions and weights. Args: exclude: A list of Col | STRING |
| HIGH | sdk/python/packages/flet/src/flet/controls/colors.py | 113 | Returns a color with the given opacity. Args: opacity: The opacity value between `0.0` and | STRING |
| HIGH | …s/flet/src/flet/controls/cupertino/cupertino_colors.py | 53 | Returns the color with the specified opacity. Args: opacity: The opacity value between `0. | STRING |
| HIGH | …s/flet/src/flet/controls/cupertino/cupertino_colors.py | 83 | Selects a random color, with optional exclusions and weights. Args: exclude: A list of col | STRING |
| HIGH | …/flet/src/flet/controls/services/shared_preferences.py | 19 | Sets a value for the given key. Note: Due to limitations on Android, it is not possible to | STRING |
| HIGH | …/packages/flet/src/flet/controls/services/clipboard.py | 64 | Stores file references on the clipboard. Args: files: A list of file paths. Retur | STRING |
| HIGH | …ackages/flet/src/flet/controls/services/file_picker.py | 220 | Selects a directory and returns its absolute path. Args: dialog_title: The title of the di | STRING |
| HIGH | …python/packages/flet/src/flet/testing/flet_test_app.py | 511 | Create an animated GIF from a sequence of PNG frames. Exactly one of `image_names` or `frames` must be provided | STRING |
| HIGH | …/python/packages/flet/src/flet/components/component.py | 467 | Create a frozen `Component` wrapper for a function call. Args: fn: Component function deco | STRING |
| HIGH | sdk/python/packages/flet/src/flet/messaging/session.py | 431 | Invokes a client-side control method and waits for the response. Args: control_id: Target | STRING |
| HIGH | …hon/packages/flet-desktop/src/flet_desktop/__init__.py | 324 | Resolve desktop client executable, prepare launch arguments, and environment. Resolution strategy (per platfor | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …les/extensions/charts/matplotlib_chart/animate/main.py | 48 | # Creating the Animation object | COMMENT |
| MEDIUM | …python/packages/flet-cli/src/flet_cli/utils/distros.py | 51 | # Create the symbolic link | COMMENT |
| MEDIUM | …s/flet/integration_tests/controls/core/test_pagelet.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …ages/flet/integration_tests/controls/core/test_icon.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …s/flet/integration_tests/controls/core/test_control.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …integration_tests/controls/core/test_responsive_row.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …flet/integration_tests/controls/core/test_page_view.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …tion_tests/controls/theme/test_expansion_tile_theme.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …gration_tests/controls/theme/test_text_button_theme.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …ts/controls/theme/test_floating_action_button_theme.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …ion_tests/controls/theme/test_outlined_button_theme.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …n_tests/controls/theme/test_date_range_picker_theme.py | 10 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …gration_tests/controls/theme/test_icon_button_theme.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …egration_tests/controls/theme/test_data_table_theme.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …/integration_tests/controls/theme/test_button_theme.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …ation_tests/controls/theme/test_filled_button_theme.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …/integration_tests/controls/theme/test_color_scheme.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …tegration_tests/controls/theme/test_list_tile_theme.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …gration_tests/controls/theme/test_date_picker_theme.py | 10 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …tests/controls/cupertino/test_cupertino_date_picker.py | 10 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …ests/controls/cupertino/test_cupertino_alert_dialog.py | 10 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …gration_tests/controls/material/test_expansion_tile.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …/integration_tests/controls/material/test_list_tile.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …ntegration_tests/controls/material/test_date_picker.py | 10 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …/flet/integration_tests/controls/material/test_tabs.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …integration_tests/controls/material/test_data_table.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …ntegration_tests/controls/material/test_time_picker.py | 10 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …_tests/controls/material/test_reorderable_list_view.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …let/integration_tests/controls/material/test_banner.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …et/integration_tests/controls/material/test_divider.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …tests/controls/material/test_floating_action_button.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …t/integration_tests/controls/material/test_dropdown.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …ation_tests/controls/material/test_segmented_button.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …gration_tests/controls/material/test_navigation_bar.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …tegration_tests/controls/material/test_alert_dialog.py | 10 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …t/integration_tests/controls/material/test_checkbox.py | 8 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …tion_tests/controls/material/test_date_range_picker.py | 10 | # Create a new flet_app instance for each test method | COMMENT |
| MEDIUM | …/integration_tests/controls/services/test_clipboard.py | 13 | # Create a new flet_app instance for each test method. | COMMENT |
| MEDIUM | …egration_tests/controls/services/test_storage_paths.py | 9 | # Create a new flet_app instance for each test method. | COMMENT |
| MEDIUM | …et/integration_tests/controls/services/test_battery.py | 8 | # Create a new flet_app instance for each test method. | COMMENT |
| MEDIUM | …ion_tests/controls/services/test_shared_preferences.py | 10 | # Create a new flet_app instance for each test method. | COMMENT |
| MEDIUM | .github/workflows/ci.yml | 527 | # Create a compressed tarball of the "flet" directory for distribution | COMMENT |
| MEDIUM | client/pubspec.yaml | 118 | # The following section is specific to Flutter. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 86 | except Exception: | CODE |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 229 | except Exception: # pragma: no cover | CODE |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 331 | except Exception: # pragma: no cover | CODE |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 730 | except Exception: | CODE |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 44 | except Exception: | CODE |
| LOW⚡ | tools/crocodocs/src/crocodocs/pypi_index.py | 207 | except Exception: | CODE |
| LOW⚡ | tools/crocodocs/src/crocodocs/pypi_index.py | 214 | except Exception: | CODE |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 337 | except Exception as e: | CODE |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 373 | except Exception: | CODE |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 394 | except Exception as e: | CODE |
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 487 | except Exception as e: | CODE |
| LOW | tools/crocodocs/src/crocodocs/generate.py | 260 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | tools/crocodocs/src/crocodocs/watch.py | 258 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | sdk/python/examples/cookbook/cpu_bound_png_stream.py | 63 | except Exception: | CODE |
| MEDIUM | sdk/python/examples/extensions/video/events/main.py | 22 | print(f"Error: {e.data}") | CODE |
| LOW | …n/examples/extensions/camera/camera_playground/main.py | 388 | except Exception as ex: | CODE |
| LOW | …mples/extensions/audio_recorder/audio_recorder/main.py | 32 | except Exception as e: | CODE |
| MEDIUM | …n/examples/extensions/lottie/lottie_animations/main.py | 15 | on_error=lambda e: print(f"Error loading Lottie: {e.data}"), | CODE |
| MEDIUM | …n/examples/extensions/lottie/lottie_animations/main.py | 24 | on_error=lambda e: print(f"Error loading Lottie: {e.data}"), | CODE |
| LOW | …mples/controls/core/types/launch_mode/showcase/main.py | 18 | except Exception as ex: | CODE |
| MEDIUM | …mples/controls/core/types/launch_mode/showcase/main.py | 11 | def check_support(): | CODE |
| LOW | …les/controls/core/types/assertiveness/showcase/main.py | 18 | except Exception as ex: | CODE |
| MEDIUM | …les/controls/core/types/assertiveness/showcase/main.py | 11 | def announce(): | CODE |
| LOW | sdk/python/examples/community/mind_queue/main.py | 204 | except Exception as ex: | CODE |
| LOW | sdk/python/examples/community/mind_queue/main.py | 315 | except Exception as ex: | CODE |
| LOW | sdk/python/examples/community/mind_queue/main.py | 328 | except Exception as ex: | CODE |
| LOW | sdk/python/examples/community/mind_queue/main.py | 339 | except Exception as ex: | CODE |
| LOW | sdk/python/examples/community/mind_queue/main.py | 363 | except Exception as ex: | CODE |
| LOW | sdk/python/examples/community/mind_queue/main.py | 388 | except Exception as ex: | CODE |
| MEDIUM | sdk/python/examples/community/mind_queue/main.py | 181 | def on_add(ev): | CODE |
| LOW⚡ | sdk/python/examples/apps/studio_gallery/calculator.py | 28 | except Exception: | CODE |
| LOW⚡ | sdk/python/examples/apps/studio_gallery/calculator.py | 34 | except Exception: | CODE |
| LOW⚡ | sdk/python/examples/apps/studio_gallery/calculator.py | 37 | except Exception: | CODE |
| MEDIUM | sdk/python/examples/apps/studio_gallery/calculator.py | 31 | def parse_float(v, fallback=0.0): | CODE |
| LOW | …hon/examples/apps/declarative/component_dialog/main.py | 43 | except Exception as e: | CODE |
| LOW | …/examples/services/storage_paths/storage_paths/main.py | 33 | except Exception as e: | CODE |
| LOW | …k/python/packages/flet-cli/src/flet_cli/utils/plist.py | 36 | except Exception: | CODE |
| LOW | …es/flet-cli/src/flet_cli/utils/project_dependencies.py | 130 | except Exception: | CODE |
| LOW | …thon/packages/flet-cli/src/flet_cli/commands/create.py | 139 | except Exception as e: | CODE |
| MEDIUM | …ython/packages/flet-cli/src/flet_cli/commands/serve.py | 101 | console.print(f"Error: {e}", style=error_style) | CODE |
| LOW | …n/packages/flet-cli/src/flet_cli/commands/emulators.py | 260 | except Exception as exc: # pragma: no cover - defensive | CODE |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 1330 | except Exception as e: | CODE |
| LOW | …ages/flet-web/src/flet_web/fastapi/flet_app_manager.py | 136 | except Exception as e: | CODE |
| LOW | …ages/flet-web/src/flet_web/fastapi/flet_app_manager.py | 143 | except Exception: | CODE |
| LOW | …ages/flet-web/src/flet_web/fastapi/flet_app_manager.py | 180 | except Exception as e: | CODE |
| MEDIUM | …ages/flet-web/src/flet_web/fastapi/flet_app_manager.py | 133 | def _connect(): | CODE |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 180 | except Exception as e: | CODE |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 206 | except Exception: | CODE |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 228 | except Exception as e: | CODE |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 306 | except Exception as e: | CODE |
| MEDIUM | sdk/python/packages/flet/src/flet/version.py | 70 | print(f"Error getting Git version: {e}", file=sys.stderr) | CODE |
| MEDIUM | sdk/python/packages/flet/src/flet/version.py | 72 | print(f"Error running Git: {e}", file=sys.stderr) | CODE |
| LOW | sdk/python/packages/flet/src/flet/version.py | 134 | except Exception as e: | CODE |
| MEDIUM | sdk/python/packages/flet/src/flet/version.py | 135 | print(f"Error parsing {fvmrc_path!r}: {e}", file=sys.stderr) | CODE |
| LOW | sdk/python/packages/flet/src/flet/app.py | 358 | except Exception as e: | CODE |
| LOW | …on/packages/flet/src/flet/utils/griffe_deprecations.py | 64 | except Exception: | CODE |
| LOW⚡ | …on/packages/flet/src/flet/utils/griffe_deprecations.py | 242 | except Exception: | CODE |
| LOW⚡ | …on/packages/flet/src/flet/utils/griffe_deprecations.py | 245 | except Exception: | CODE |
| LOW | sdk/python/packages/flet/src/flet/utils/deprecated.py | 31 | except Exception: | CODE |
| LOW | sdk/python/packages/flet/src/flet/utils/object_model.py | 37 | except Exception: | CODE |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 43 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 166 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 214 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 585 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/griffe_extract_script.py | 669 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/partials.py | 150 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/partials.py | 219 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/generate.py | 205 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/docs.py | 32 | CODE | |
| LOW | tools/crocodocs/src/crocodocs/scripts/cli_to_md.py | 9 | CODE | |
| LOW | …n/examples/extensions/camera/camera_playground/main.py | 27 | CODE | |
| LOW | …n/examples/extensions/camera/camera_playground/main.py | 330 | CODE | |
| LOW | …ples/tutorials/solitaire/solitaire-final-part1/card.py | 116 | CODE | |
| LOW | …n/examples/tutorials/solitaire/solitaire-final/card.py | 69 | CODE | |
| LOW | …n/examples/tutorials/solitaire/solitaire-final/card.py | 108 | CODE | |
| LOW | …mples/tutorials/solitaire/solitaire-game-rules/card.py | 118 | CODE | |
| LOW | sdk/python/examples/tutorials/calculator/calc5.py | 89 | CODE | |
| LOW | sdk/python/examples/tutorials/calculator/calc5.py | 141 | CODE | |
| LOW | sdk/python/examples/tutorials/calculator/calc.py | 89 | CODE | |
| LOW | sdk/python/examples/tutorials/calculator/calc.py | 141 | CODE | |
| LOW | …utorials/solitaire_declarative/solitaire_final/main.py | 246 | CODE | |
| LOW | sdk/python/examples/apps/calculator/main.py | 89 | CODE | |
| LOW | sdk/python/examples/apps/calculator/main.py | 141 | CODE | |
| LOW | sdk/python/examples/apps/studio_gallery/minesweeper.py | 55 | CODE | |
| LOW | sdk/python/examples/apps/studio_gallery/minesweeper.py | 85 | CODE | |
| LOW | …k/python/examples/apps/declarative/minesweeper/main.py | 60 | CODE | |
| LOW | …k/python/examples/apps/declarative/minesweeper/main.py | 90 | CODE | |
| LOW | sdk/python/examples/apps/declarative/trolli/main.py | 27 | CODE | |
| LOW | sdk/python/examples/apps/declarative/trolli/main.py | 50 | CODE | |
| LOW | sdk/python/examples/apps/icons_browser/main.py | 20 | CODE | |
| LOW | sdk/python/examples/apps/icons_browser/main.py | 74 | CODE | |
| LOW | …/examples/services/storage_paths/storage_paths/main.py | 4 | CODE | |
| LOW | …ckages/flet-charts/src/flet_charts/matplotlib_chart.py | 422 | CODE | |
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 59 | CODE | |
| LOW | …thon/packages/flet-cli/src/flet_cli/utils/processes.py | 11 | CODE | |
| LOW | …python/packages/flet-cli/src/flet_cli/utils/distros.py | 10 | CODE | |
| LOW | …python/packages/flet-cli/src/flet_cli/utils/distros.py | 27 | CODE | |
| LOW | …python/packages/flet-cli/src/flet_cli/commands/pack.py | 157 | CODE | |
| LOW | …python/packages/flet-cli/src/flet_cli/commands/pack.py | 182 | CODE | |
| LOW | …/python/packages/flet-cli/src/flet_cli/commands/run.py | 381 | CODE | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 761 | CODE | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 1227 | CODE | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 1376 | CODE | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 1440 | CODE | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 1578 | CODE | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 1852 | CODE | |
| LOW | …/packages/flet-cli/src/flet_cli/commands/build_base.py | 2134 | CODE | |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 140 | CODE | |
| LOW | …hon/packages/flet-web/src/flet_web/fastapi/flet_app.py | 235 | CODE | |
| LOW | …ython/packages/flet/tests/test_validation_benchmark.py | 22 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/version.py | 111 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/app.py | 142 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/app.py | 316 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/app.py | 329 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/utils/object_model.py | 10 | CODE | |
| LOW | …/python/packages/flet/src/flet/utils/platform_utils.py | 114 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/utils/validation.py | 1755 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/controls/page.py | 749 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/controls/page.py | 1358 | CODE | |
| LOW | …/python/packages/flet/src/flet/controls/value_types.py | 85 | CODE | |
| 26 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | client/web/python-worker.js | 72 | print("python_module_name:", python_module_name) | CODE |
| HIGH⚡ | client/web/python-worker.js | 73 | print("micropip_include_pre:", micropip_include_pre) | CODE |
| HIGH⚡ | client/web/python-worker.js | 76 | print("Downloading app archive") | CODE |
| HIGH⚡ | client/web/python-worker.js | 86 | elif _archive_path.endswith((".tar.gz", ".tgz")): | CODE |
| HIGH⚡ | client/web/python-worker.js | 95 | print("Saving script to a file") | CODE |
| HIGH⚡ | client/web/python-worker.js | 101 | print(f"Adding {pkgs_path} to sys.path") | CODE |
| HIGH | client/web/python-worker.js | 122 | print("Loading requirements.txt:", deps) | CODE |
| HIGH | client/web/python-worker.js | 145 | print("Loading pyproject.toml deps:", pyproject_deps) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | website/docs/publish/ios.md | 222 | ##### Step 1: Go to Apple Developer Portal | COMMENT |
| LOW⚡ | website/docs/publish/ios.md | 227 | ##### Step 2: Create a New Provisioning Profile | COMMENT |
| LOW⚡ | website/docs/publish/ios.md | 237 | ##### Step 3: Select an App ID | COMMENT |
| LOW⚡ | website/docs/publish/ios.md | 242 | ##### Step 4: Select a Distribution Certificate | COMMENT |
| LOW⚡ | website/docs/publish/ios.md | 249 | ##### Step 5: Select Registered Devices (for Development & Ad Hoc) | COMMENT |
| LOW⚡ | website/docs/publish/ios.md | 254 | ##### Step 6: Name and Generate the Profile | COMMENT |
| LOW | website/docs/tutorials/solitaire.md | 64 | ### Step 1: Drag the card around | COMMENT |
| LOW | website/docs/tutorials/solitaire.md | 137 | ### Step 2: Drop the card in the slot or bounce it back | COMMENT |
| LOW | website/docs/tutorials/solitaire.md | 231 | ### Step 3: Adding a second card | COMMENT |
| LOW | website/docs/tutorials/solitaire.md | 279 | ### Step 4: Adding more slots | COMMENT |
| LOW | …utorials/solitaire_declarative/solitaire_final/main.py | 1 | # Step 8: Move piles of cards from stackable slots to stackable slots. | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step3_field_gd.py | 1 | # Step 3: Place the card into a slot if close enough when dropped, otherwise bounce | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step6_field_gd.py | 1 | # Step 6: Put cards into slot1, slot2, slot3 with offset, in other slots without offset. | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step5_field_gd.py | 1 | # Step 5: Slot has piles of Cards. When a Card is dropped into a Slot, it becomes part | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step7_field_gd.py | 1 | # Step 7: Refactor calculations to be more readable and maintainable. | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step2_field_gd.py | 1 | # Step 2: Place the card into a slot if close enough when dropped, otherwise bounce | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step1_field_gd.py | 1 | # Step 1: Basic drag-and-drop of rectangles (cards) within a bounded area. | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step8_field_gd.py | 1 | # Step 8: Move piles of cards from stackable slots to stackable slots. | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step4_field_gd.py | 1 | # Step 4: Place the card into a slot if close enough when dropped, otherwise | COMMENT |
| LOW | …k/python/examples/apps/declarative/minesweeper/main.py | 1 | # Step 1: Basic drag-and-drop of rectangles (cards) within a bounded area. | COMMENT |
| LOW⚡ | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 107 | # Step 1: Check if JAVA_HOME is set and valid | COMMENT |
| LOW⚡ | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 113 | # Step 2: On macOS, try /usr/libexec/java_home | COMMENT |
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 126 | # Step 3: Determine platform-specific download URL | COMMENT |
| LOW⚡ | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 137 | # Step 4: Check if JDK is already installed | COMMENT |
| LOW⚡ | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 139 | # Step 5: Download and extract JDK | COMMENT |
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 155 | # Step 6: Clean up archive | COMMENT |
| LOW⚡ | …ples/controls/material/test_reorderable_drag_handle.py | 51 | # Step 1: move item 0 downward and capture the intermediate state. | COMMENT |
| LOW⚡ | …ples/controls/material/test_reorderable_drag_handle.py | 60 | # Step 2: continue dragging the same item downward and capture again. | COMMENT |
| LOW⚡ | …ples/controls/material/test_reorderable_drag_handle.py | 70 | # Step 3: move item 0 to its expected final position. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …utter/flet_charts/lib/src/matplotlib_chart_canvas.dart | 1 | import 'dart:async'; | COMMENT |
| LOW | …/integration_tests/controls/material/test_list_tile.py | 281 | # await flet_app.page.take_screenshot( | COMMENT |
| LOW | …ation_tests/examples/controls/core/test_placeholder.py | 21 | @pytest.mark.parametrize( | COMMENT |
| LOW | …ython/packages/flet/tests/test_object_diff_in_place.py | 221 | assert u_msg[0] == [0] | COMMENT |
| LOW | …ython/packages/flet/tests/test_object_diff_in_place.py | 241 | # "controls": [ | COMMENT |
| LOW | …ython/packages/flet/tests/test_object_diff_in_place.py | 261 | # "_i": 26, | COMMENT |
| LOW | …python/packages/flet/src/flet/controls/object_patch.py | 1 | # | COMMENT |
| LOW | …python/packages/flet/src/flet/controls/object_patch.py | 841 | self._item_removed(path, key, old, frozen=frozen) | COMMENT |
| LOW | …python/packages/flet/src/flet/controls/object_patch.py | 1141 | # Reconciled controls are fresh Python objects that take over | COMMENT |
| LOW | sdk/python/packages/flet/src/flet/components/router.py | 641 | prev_route_handler_ref = use_ref(None) | COMMENT |
| LOW | sdk/python/packages/flet/src/flet/components/router.py | 681 | COMMENT | |
| LOW | sdk/python/packages/flet/src/flet/components/router.py | 821 | # Each route component should return a View (with appbar, controls, | COMMENT |
| LOW | …/packages/flet/src/flet/components/hooks/use_dialog.py | 81 | if hasattr(dialog, "_frozen"): | COMMENT |
| LOW | …/packages/flet/src/flet/components/hooks/use_dialog.py | 101 | dialog.open = True | COMMENT |
| LOW | …s/flet-map/src/flutter/flet_map/lib/src/utils/map.dart | 181 | } | COMMENT |
| LOW | packages/flet/lib/src/flet_backend.dart | 381 | /// properties [props] to update the control's state. The [props] map | COMMENT |
| LOW | packages/flet/lib/src/utils/time.dart | 1 | import 'package:flutter/cupertino.dart'; | COMMENT |
| LOW | packages/flet/lib/src/models/control.dart | 141 | /// Triggers a control event. | COMMENT |
| LOW | packages/flet/lib/src/models/control.dart | 161 | COMMENT | |
| LOW | packages/flet/lib/src/models/control.dart | 261 | COMMENT | |
| LOW | packages/flet/lib/src/models/control.dart | 281 | /// tree_index := [[0, {"property|position 1": [index, {"property|position 2"}], ...}] | COMMENT |
| LOW | packages/flet/lib/src/models/control.dart | 301 | /// } | COMMENT |
| LOW | packages/flet/lib/src/protocol/session_payload.dart | 1 | class SessionPayload { | COMMENT |
| LOW | packages/flet/lib/src/controls/cupertino_button.dart | 101 | // defaultBackgroundColor: Colors.transparent, | COMMENT |
| LOW | .github/scripts/update_build_version.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .github/scripts/update_build_version.sh | 21 | # - Development builds get versions like "1.3.0+45" (PyPI: "1.3.0.dev45"). | COMMENT |
| LOW | client/pubspec.yaml | 1 | name: flet_client | COMMENT |
| LOW | client/pubspec.yaml | 121 | # included with your application, so that you can use the icons in | COMMENT |
| LOW | client/pubspec.yaml | 141 | # fonts: | COMMENT |
| LOW | client/analysis_options.yaml | 1 | # This file configures the analyzer, which statically analyzes Dart code to | COMMENT |
| LOW | client/analysis_options.yaml | 21 | # or a specific dart file by using the `// ignore: name_of_lint` and | COMMENT |
| LOW | client/linux/flutter/generated_plugin_registrant.h | 1 | // | COMMENT |
| LOW | client/windows/runner/utils.h | 1 | #ifndef RUNNER_UTILS_H_ | COMMENT |
| LOW | client/windows/runner/win32_window.cpp | 1 | #include "win32_window.h" | COMMENT |
| LOW | client/windows/runner/resource.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | client/windows/flutter/generated_plugin_registrant.h | 1 | // | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …utorials/solitaire_declarative/solitaire_final/main.py | 1 | # Step 8: Move piles of cards from stackable slots to stackable slots. | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step3_field_gd.py | 1 | # Step 3: Place the card into a slot if close enough when dropped, otherwise bounce | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step6_field_gd.py | 1 | # Step 6: Put cards into slot1, slot2, slot3 with offset, in other slots without offset. | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step5_field_gd.py | 1 | # Step 5: Slot has piles of Cards. When a Card is dropped into a Slot, it becomes part | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step7_field_gd.py | 1 | # Step 7: Refactor calculations to be more readable and maintainable. | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step2_field_gd.py | 1 | # Step 2: Place the card into a slot if close enough when dropped, otherwise bounce | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step1_field_gd.py | 1 | # Step 1: Basic drag-and-drop of rectangles (cards) within a bounded area. | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step8_field_gd.py | 1 | # Step 8: Move piles of cards from stackable slots to stackable slots. | COMMENT |
| LOW | …/solitaire_declarative/drag-and-drop/step4_field_gd.py | 1 | # Step 4: Place the card into a slot if close enough when dropped, otherwise | COMMENT |
| LOW | …k/python/examples/apps/declarative/minesweeper/main.py | 1 | # Step 1: Basic drag-and-drop of rectangles (cards) within a bounded area. | COMMENT |
| LOW⚡ | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 107 | # Step 1: Check if JAVA_HOME is set and valid | COMMENT |
| LOW⚡ | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 113 | # Step 2: On macOS, try /usr/libexec/java_home | COMMENT |
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 126 | # Step 3: Determine platform-specific download URL | COMMENT |
| LOW⚡ | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 137 | # Step 4: Check if JDK is already installed | COMMENT |
| LOW⚡ | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 139 | # Step 5: Download and extract JDK | COMMENT |
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 155 | # Step 6: Clean up archive | COMMENT |
| LOW⚡ | …ples/controls/material/test_reorderable_drag_handle.py | 51 | # Step 1: move item 0 downward and capture the intermediate state. | COMMENT |
| LOW⚡ | …ples/controls/material/test_reorderable_drag_handle.py | 60 | # Step 2: continue dragging the same item downward and capture again. | COMMENT |
| LOW⚡ | …ples/controls/material/test_reorderable_drag_handle.py | 70 | # Step 3: move item 0 to its expected final position. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | sdk/python/packages/flet/src/flet/controls/theme.py | 2118 | If this is null, the time picker defaults to the overall theme's | STRING |
| HIGH | sdk/python/packages/flet/src/flet/controls/theme.py | 2183 | If this is null, the time picker defaults to the overall theme's | STRING |
| HIGH | …/packages/flet/src/flet/controls/material/datatable.py | 271 | If this is not null, then this row is selectable. The current selection state of | STRING |
| HIGH | …/packages/flet/src/flet/controls/material/snack_bar.py | 312 | If not provided, but the snackbar :attr:`action` is not null, | STRING |
| HIGH | …/flet/src/flet/controls/material/form_field_control.py | 207 | If non-null, the text is displayed below the input decorator, in the same location | STRING |
| HIGH | …/flet/src/flet/controls/material/form_field_control.py | 239 | If non-null, the border's color animates to red | STRING |
| HIGH | …ckages/flet/src/flet/controls/material/alert_dialog.py | 169 | If that is null, defaults to color scheme's :attr:`flet.ColorScheme.secondary` if | STRING |
| HIGH | …hon/packages/flet/src/flet/controls/material/slider.py | 209 | If not null, a secondary track using `secondary_active_color` is drawn between | STRING |
| HIGH | …packages/flet/src/flet/controls/material/search_bar.py | 218 | If null, then the default value is 8.0 horizontally. | STRING |
| HIGH | …n/packages/flet/src/flet/controls/material/dropdown.py | 210 | If this is not null, the menu items will have extra paddings to | STRING |
| HIGH | …n/packages/flet/src/flet/controls/material/dropdown.py | 257 | If non-null, the border's color animates to red and the :attr:`helper_text` is | STRING |
| HIGH | …n/packages/flet/src/flet/controls/material/dropdown.py | 378 | If non-null, the text is displayed below the input decorator, in the same location | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/controls/core/types/list_tile_style/showcase/main.py | 22 | title=ft.Text("Jane Doe"), | CODE |
| LOW | …/core/types/list_tile_title_alignment/showcase/main.py | 22 | title=ft.Text("Jane Doe"), | CODE |
| LOW | …on/examples/controls/core/image/fade_in/pyproject.toml | 6 | keywords = ["image", "fade in", "placeholder", "animation", "network"] | CODE |
| LOW | sdk/python/examples/controls/core/canvas/text/main.py | 61 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, " | CODE |
| LOW | sdk/python/examples/controls/core/canvas/text/main.py | 61 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, " | CODE |
| LOW | …s/controls/core/placeholder/placeholder/pyproject.toml | 2 | name = "placeholder" | CODE |
| LOW | …s/controls/core/placeholder/placeholder/pyproject.toml | 6 | keywords = ["placeholder", "layout", "fallback size", "ui shell"] | CODE |
| LOW | …thon/examples/controls/core/text/custom_styles/main.py | 73 | "Lorem ipsum dolor sit amet, consectetur adipiscing " | CODE |
| LOW | …thon/examples/controls/core/text/custom_styles/main.py | 73 | "Lorem ipsum dolor sit amet, consectetur adipiscing " | CODE |
| LOW | …thon/examples/controls/core/text/custom_styles/main.py | 98 | "Lorem ipsum dolor sit amet, consectetur adipiscing " | CODE |
| LOW | …thon/examples/controls/core/text/custom_styles/main.py | 98 | "Lorem ipsum dolor sit amet, consectetur adipiscing " | CODE |
| LOW | …ntrols/core/control/expand_loose_chat_messages/main.py | 57 | "Lorem Ipsum is simply dummy text of the printing and " | CODE |
| LOW | …ntrols/core/control/expand_loose_chat_messages/main.py | 58 | "typesetting industry. Lorem Ipsum has been the industry's " | CODE |
| LOW | …/core/shimmer/shimmer_basic_placeholder/pyproject.toml | 6 | keywords = ["shimmer", "placeholder", "loading", "card", "skeleton"] | CODE |
| LOW | …/examples/controls/core/shimmer/shimmer/pyproject.toml | 6 | keywords = ["shimmer", "loading", "placeholder", "animation"] | CODE |
| LOW | …upertino/cupertino_text_field/selection_change/main.py | 19 | value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.", | CODE |
| LOW | …upertino/cupertino_text_field/selection_change/main.py | 19 | value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.", | CODE |
| LOW | …/controls/material/text_field/selection_change/main.py | 31 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit." | CODE |
| LOW | …/controls/material/text_field/selection_change/main.py | 31 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit." | CODE |
| LOW | …ages/flet-rive/src/flutter/flet_rive/lib/src/rive.dart | 51 | var placeholder = widget.control.buildWidget("placeholder"); | CODE |
| LOW | …e2/src/flutter/flet_datatable2/lib/src/datatable2.dart | 170 | placeholder: cell.getBool("placeholder", false)!, | CODE |
| LOW | …es/flet/integration_tests/controls/core/test_canvas.py | 538 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed " | CODE |
| LOW | …es/flet/integration_tests/controls/core/test_canvas.py | 538 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed " | CODE |
| LOW | …ion_tests/examples/controls/material/test_list_tile.py | 16 | title="Jane Doe", | CODE |
| LOW | …ion_tests/examples/controls/material/test_textfield.py | 31 | ft.TextField(label="Name", hint_text="Jane Doe"), | CODE |
| LOW | …/packages/flet/src/flet/controls/material/list_tile.py | 97 | title="Jane Doe", | STRING |
| LOW | …/packages/flet/src/flet/controls/material/textfield.py | 279 | ft.TextField(label="Name", hint_text="Jane Doe") | STRING |
| LOW | packages/flet/lib/src/controls/datatable.dart | 107 | placeholder: cell.getBool("placeholder", false)!, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/crocodocs/src/crocodocs/pypi_index.py | 451 | CODE | |
| LOW | …kages/flet-charts/src/flet_charts/candlestick_chart.py | 79 | CODE | |
| LOW | …hon/packages/flet-charts/src/flet_charts/line_chart.py | 135 | CODE | |
| LOW | …thon/packages/flet-charts/src/flet_charts/bar_chart.py | 97 | CODE | |
| LOW | …/packages/flet-charts/src/flet_charts/scatter_chart.py | 68 | CODE | |
| LOW | …k/python/packages/flet-web/src/flet_web/patch_index.py | 9 | CODE | |
| LOW | …ges/flet-web/src/flet_web/fastapi/flet_static_files.py | 47 | CODE | |
| LOW | …k/python/packages/flet-web/src/flet_web/fastapi/app.py | 22 | CODE | |
| LOW | …packages/flet-web/src/flet_web/fastapi/flet_fastapi.py | 28 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/app.py | 60 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/app.py | 142 | CODE | |
| LOW | …k/python/packages/flet/src/flet/auth/oauth_provider.py | 38 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/controls/box.py | 345 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/controls/box.py | 448 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/controls/page.py | 1046 | CODE | |
| LOW | …k/python/packages/flet/src/flet/controls/text_style.py | 352 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/controls/buttons.py | 286 | CODE | |
| LOW | sdk/python/packages/flet/src/flet/controls/painting.py | 381 | CODE | |
| LOW | …thon/packages/flet/src/flet/controls/services/share.py | 284 | CODE | |
| LOW | …thon/packages/flet/src/flet/controls/services/share.py | 233 | CODE | |
| LOW | …python/packages/flet/src/flet/testing/flet_test_app.py | 128 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …kages/flet-cli/src/flet_cli/__pyinstaller/win_utils.py | 123 | # Check if the overlay is still present | COMMENT |
| LOW | …python/packages/flet-cli/src/flet_cli/utils/distros.py | 43 | # Check if the member is a symbolic link | COMMENT |
| LOW | .github/scripts/update_build_version.sh | 61 | # Print values for debugging in logs | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py | 166 | # Example usage | COMMENT |
| LOW | …python/packages/flet-cli/src/flet_cli/utils/flutter.py | 93 | # Example usage: | COMMENT |
| LOW | packages/flet/lib/src/utils/launch_url.dart | 24 | /// Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ython/packages/flet/src/flet/controls/material/tabs.py | 214 | and :attr:`flet.TabBarView.controls`. Don't forget to update | STRING |
| MEDIUM | client/pubspec.yaml | 121 | # included with your application, so that you can use the icons in | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/python/packages/flet/src/flet/controls/page.py | 765 | def run_task( | CODE |