brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
flutter-performanceOptimize Flutter widget rebuilds, memory usage, rendering, and scrolling performance. Use when diagnosing jank, reducing rebuilds, or improving list performance—not performance tests, monitoring setup, or API optimization.
Independent GitHub snapshot · Automated classification · Original documentation governs
const widgets and buildWhen / select for granular updates.ListView.builder for item recycling.compute() or Isolates for parsing/logic.RepaintBoundary for complex animations. Use debugRepaintRainbowEnabled to debug.CachedNetworkImage + memCacheWidth. precachePicture for SVGs.ValueKey for list items and stable IDs for reconciliation.dispose().build methods free of heavy work; move logic to BLoC/Application.maxWidth/maxHeight when loading images.setState(): Use BlocBuilder with buildWhen or context.select() for granular updatesbuild(): Move sorting/filtering/heavy logic to BLoC or compute()const Leaf Nodes: Apply const to all static widgets to skip unnecessary reconciliationColumn Lists: Use ListView.builder for efficient item recycling in large listsBlocBuilder<UserBloc, UserState>(
buildWhen: (p, c) => p.id != c.id,
builder: (context, state) => Text(state.name),
)