Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

flutter-visual-effects

/flutter-visual-effects

Wdraża lub przegląda wymagające efekty wizualne we Flutterze: szkło matowe i płynne, rozmycie tła, refrakcja, shadery, custom painting, poświata, maski i efekty zapasowe.

Repozytorium
flutter-skills ↗
Licencja
BSD-3-Clause
Ostatnia zmiana repozytorium
05.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
4
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
4
Przestarzałość

Brak sygnałów. Repozytorium zmienione 05.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

BSD-3-Clause, otwarta.

Co robi i kiedy

Wdraża lub przegląda wymagające efekty wizualne we Flutterze: szkło matowe i płynne, rozmycie tła, refrakcja, shadery, custom painting, poświata, maski i efekty zapasowe.

Oryginalny opis (EN)

Implement or review advanced Flutter visual rendering such as frosted or liquid glass, backdrop blur, refraction, shaders, custom painting, glow, masks, and effect fallbacks. Use when the request explicitly needs a nontrivial visual effect; route art direction, ordinary styling, animation timing, and evidence-based performance diagnosis to their dedicated skills.

Jak działa

  1. Scope
  2. Preflight
  3. Choose by evidence, not ideology
  4. Implementation invariants
  5. Conditional references
  6. Verification
  7. Sources
Sekcje z nagłówków SKILL.md, w oryginale · 61 linii, 827 słów
Podgląd SKILL.md
---
name: flutter-visual-effects
description: Implement or review advanced Flutter visual rendering such as frosted or liquid glass, backdrop blur, refraction, shaders, custom painting, glow, masks, and effect fallbacks. Use when the request explicitly needs a nontrivial visual effect; route art direction, ordinary styling, animation timing, and evidence-based performance diagnosis to their dedicated skills.
---

# Flutter Visual Effects

Translate an intended material or optical behavior into a maintainable Flutter rendering stack without treating an effect package as a design system.

## Scope

Own effect fidelity, layer composition, blur and refraction implementation, shader or `CustomPainter` selection, effect grouping, platform/backend fallbacks, and rendered effect verification.

Route whether the product should use the effect to `flutter-ui-design`. Route timing, choreography, springs, Hero, and interruption behavior to `flutter-animation`; measured jank diagnosis to `flutter-performance`; and native views or platform channels to `flutter-platform-integration`.

## Preflight

1. Inspect `pubspec.yaml`, Flutter/Dart constraints, enabled platforms, existing graphics packages, and the rendering code around the target surface.
2. Inspect the supplied reference at equivalent content, background, state, and viewport. An isolated translucent rectangle is not enough evidence for a backdrop-dependent effect.
3. State the optical behavior that matters: blur, tint, edge highlight, depth, refraction, shape blending, glow, noise, or responsive deformation.
4. Establish required platform coverage, acceptable fidelity loss, accessibility fallbacks, and whether representative hardware can be profiled.
5. Start from the project's current rendering solution and dependencies. Preserve an adequate existing effect implementation; do not replace it with core code or another package merely for stylistic preference.

## Choose by evidence, not ideology

1. Reuse an adequate solution or package already in the project, including its theme and fallback behavior.
2. Use decoration, gradients, masks, shadows, `CustomPainter`, or a clipped `BackdropFilter` for simple effects that Flutter core expresses clearly. Use `ImageFiltered` when filtering one known child rather than the existing backdrop.
3. Use a maintained package for a complex, common capability when it materially reduces implementation risk and meets the project's SDK, renderer, platform, license, maintenance, and performance constraints.
4. Use a custom fragment shader or renderer when the effect is product-specific, the accepted package cannot meet fidelity or platform requirements, or measured control is worth the maintenance cost.
5. Use native integration only when native rendering itself is a requirement; preserve a defined behavior for every other supported target.

The decision record must name the existing solution checked, why core/package/custom/native is the smallest faithful choice, and what evidence would reverse that choice. Do not add a package merely because its demo resembles the reference, and do not hand-roll mature infrastructure that an adequate maintained dependency already provides.

When an effect package or shared renderer already exists, explicitly inspect its `pubspec`/lockfile entry, source usage, theme contract, supported targets, and fallback before proposing code. Preserve a stable before fixture, compare the same content and viewport after the change, and label screenshots or profile measurements as planned versus observed. A package that is adequate on inspection should be extended in place, not replaced by a parallel renderer.

For an ordinary core-material implementation, make the decision record explicit: `BackdropFilter` samples already painted content behind the surface, `ImageFiltered` filters one owned child, no effect package is being added, and decorative layers expose neither semantics nor press, hover, or focus affordances.

## Implementation invariants

- Clip filters to the smallest useful bounds; an unbounded backdrop filter can process far more of the scene than the visible surface.
- Build glass as layers: sampled backdrop, controlled blur or refraction, tint, border/highlight, then readable content. Opacity alone is not glass.
- Keep optical effects behind semantics and hit testing. Decorative or read-only layers must not expose press, hover, focus, or interactive-glow affordances; only real controls receive them.
- Reuse or group shared effect layers where the SDK and composition allow it. Do not place an independent live blur or shader behind every scrolling row.
- Keep effect configuration semantic and centralized, with opaque or lower-cost alternatives for unsupported renderers, reduced transparency, high contrast, and constrained hardware.
- Preserve stable identity while shapes morph. The animation owner controls time; the effect layer derives its geometry and uniforms from that state.
- Never claim pixel parity with an Apple-native material. Report which transferable properties were reproduced and which native optical behaviors were approximated.

## Conditional references

- Read [iOS effect translation](references/ios-effect-translation.md) when a SwiftUI, Liquid Glass, Material, PhaseAnimator, or matched-geometry reference must be reproduced in Flutter.
- Read [shaders, packages, and performance](references/shaders-packages-performance.md) when custom GLSL, `FragmentProgram`, backdrop distortion, an effect package, renderer compatibility, or GPU cost is in scope.

## Verification

Render the effect over representative quiet and busy backgrounds in light and dark themes. Keep viewport, content, effect geometry, and interaction state equal when comparing normal, high-contrast, and opaque or low-cost fallback fixtures. Capture the interactive or morphed state where relevant. Check legibility, clipping, edge artifacts, scroll behavior, text scaling, high contrast, reduced motion, and the available reduced-transparency path.

Golden tests can lock deterministic geometry and paint output, but device screenshots are required for claims involving platform compositing, system chrome, or backend-specific shaders. Profile nontrivial blur, shader, or continuously animated effects in profile mode on representative hardware; report the tested renderer, device class, scene, and fallback rather than generalizing from debug mode.

## Sources

- [Custom drawing and graphics](https://docs.flutter.dev/ui/design/graphics)
- [Writing and using fragment shaders](https://docs.flutter.dev/ui/design/graphics/fragment-shaders)
- [BackdropFilter](https://api.flutter.dev/flutter/widgets/BackdropFilter-class.html)
- [ImageFilter](https://api.flutter.dev/flutter/dart-ui/ImageFilter-class.html)
Pliki w paczce (4)
  • SKILL.md 7 KB
  • evals/cases.json 6 KB
  • references/ios-effect-translation.md 4 KB
  • references/shaders-packages-performance.md 4 KB

Wersje

W bazie nie ma innych skilli o nazwie flutter-visual-effects.

Migawka bazy z 13.11.2026 · wersja paczki 122af12e6c76 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100kmp-liquid-glass
    Buduje komponenty w stylu liquid glass i szkła matowego iOS w Compose Multiplatform z biblioteką backdrop: rozmycie tła, refrakcja soczewki, przyciski, karty, dialogi i paski kart.
  • 100shaders
    Buduje efekty WebGPU z biblioteką Shaders w React, Vue, Svelte, Solid lub vanilla JS, np. tła, gradienty, szkło i cząsteczki.
  • 100glassmorphism
    Tworzy półprzezroczyste panele glassmorphism z backdrop-filter, podświetleniami krawędzi, refrakcją SVG liquid-glass oraz animacjami przy najechaniu i przewijaniu.
  • 90liquid-glass-web
    Buduje w sieci interfejs w stylu Apple Liquid Glass i szkła mrożonego z progresywnym ulepszaniem: glassmorphism, filtry SVG, shadery WebGL, odblaski i zapasowe rozwiązania dla przeglądarek.
  • 100liquid-glass-visual-skill
    Buduje i sprawdza adaptacyjne interfejsy Liquid Glass z kontrastem, załamaniem, płynnym ruchem i testami wizualnymi.
  • 100g1455
    Buduje interfejsy Flutter w pakiecie g1455 z efektem Liquid Glass w stylu iOS 26 (załamanie, rozmycie, odcień, krawędź) i komponentami Glass* takimi jak GlassBar, GlassButton i GlassTabBar.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.