flutter-building-layouts

flutter building layouts

flutter ↓ 11k
Claude Code
View source ↗

What it does

  • Core Layout Principles
  • Structural Widgets
  • Adaptive and Responsive Design
  • Workflow: Implementing a Complex Layout
  • Pass Sizes Up: Calculate the child Widget's desired size within the given constraints and pass this size back up to the parent.
  • Use Container: Wrap Widgets in a Container when you need to apply padding, margins, borders, or background colors.
  • Use Stack: Implement Stack when Widgets must overlap on the Z-axis. Use Positioned to anchor children to specific edges of the Stack.

Requirements & configuration

  • Use Container: Wrap Widgets in a Container when you need to apply padding, margins, borders, or background colors.
  • [ ] Determine which Widgets require tight constraints (fixed size) vs. loose constraints (flexible size).

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

flutter building layouts

Source

Repository: https://github.com/flutter/skills

flutter-building-layouts FAQ

What does the flutter-building-layouts skill do?

Builds Flutter layouts using the constraint system and layout widgets. Use when creating or refining the UI structure of a Flutter application. Core Layout Principles Structural Widgets

What does flutter-building-layouts require?

Use Container: Wrap Widgets in a Container when you need to apply padding, margins, borders, or background colors. [ ] Determine which Widgets require tight constraints (fixed size) vs. loose constraints (flexible size).

How do I install flutter-building-layouts?

Run: npx -y skills add https://github.com/flutter/skills --skill flutter-building-layouts --agent claude-code — the source lives at github.com/flutter/skills.

Maintain flutter-building-layouts?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

flutter-building-layouts on getagentictools
[![flutter-building-layouts on getagentictools](https://getagentictools.com/badge/skills/flutter-skills-flutter-building-layouts.svg)](https://getagentictools.com/skills/flutter-skills-flutter-building-layouts?ref=badge)
npx agentictools info skills/flutter-skills-flutter-building-layouts

The second line is the CLI lookup for this page — handy in READMEs and docs.