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-idiomatic-flutterCompose modern Flutter layouts and widgets idiomatically. Use for widget trees, layout constraints, mounted safety, and UI composition—not BLoC state management, routing, dependency injection, or tests.
Independent GitHub snapshot · Automated classification · Original documentation governs
if (context.mounted) before using BuildContext after await.spacing parameter on Row/Column (Flutter 3.27+) over inserting SizedBox/Gap between children. On earlier Flutter versions, use Gap(n) instead — spacing will not compile.Gap(n) or SizedBox only when spacing cannot express the layout (e.g., conditional gaps).const SizedBox.shrink().IntrinsicWidth/Height; use Stack + FractionallySizedBox for overlays.Gap(n) or SizedBox over Padding for simple gaps.ColoredBox/Padding/DecoratedBox instead of Container when possible.Theme.of(context) access.context.mounted to prevent crashes across async gaps.const StatelessWidget for proper rebuild control.const SizedBox.shrink().