Skip to content
Back to skills

Flutter Performance

ASecurity

The lag is likely because `Column` builds all 500 `ProductCard`s at once, so Flutter has to layout, paint, and keep every child alive during scroll. Use `ListView.builder` instead so items are built lazily and recycled: ```dart ListView.builder( itemCount: products.length, itemBuilder: (context, index) { final product = products[index]; return ProductCard( key: ValueKey(product.id), product: product, ); }, ) ``` Also make sure: - `ProductCard` uses `const` where possible - each row has a stab...

  • 584 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
development

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill flutter-performance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Flutter Performance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Flutter Performance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-flutter-performance-agent-skills-standard/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-flutter-performance-agent-skills-standard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
The lag is likely because `Column` builds all 500 `ProductCard`s at once, so Flutter has to layout, paint, and keep every child alive during scroll.

Use `ListView.builder` instead so items are built lazily and recycled:

```dart
ListView.builder(
  itemCount: products.length,
  itemBuilder: (context, index) {
    final product = products[index];
    return ProductCard(
      key: ValueKey(product.id),
      product: product,
    );
  },
)
```

Also make sure:

- `ProductCard` uses `const` where possible
- each row has a stable `ValueKey`
- heavy sorting/filtering/image prep is not done inside `build()`
- controllers/streams are disposed properly

If `ProductCard` is visually complex, consider wrapping it in `RepaintBoundary`. If images are involved, resize/cache them appropriately.

Files in this skill

  • eval-1.baseline.md472 B
  • eval-1.with-skill.md795 B
  • eval-2.baseline.md924 B
  • eval-2.with-skill.md1.5 KB
  • eval-3.baseline.md1 KB
  • eval-3.with-skill.md1.2 KB
  • trigger-1.md184 B
  • trigger-2.md211 B
  • trigger-3.md206 B
  • trigger-4.md232 B
  • trigger-5.md189 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.