flutter-adaptive-ui

Automate adaptive Flutter UI design with Abstract, Measure, Branch breakpoints.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/maxkishchenko2015/Web_ART_Galery --skill flutter-adaptive-ui-maxkishchenko2015
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-adaptive-ui
Source: https://github.com/maxkishchenko2015/Web_ART_Galery/tree/main/agent_skills/flutter-adaptive-ui
Command: npx skills add https://github.com/maxkishchenko2015/Web_ART_Galery --skill flutter-adaptive-ui-maxkishchenko2015

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Flutter developers often struggle to create consistent experiences across devices. This Skill provides a clear, reusable approach to building adaptive UIs that adjust layouts and interactions for mobile, tablet, desktop, and web.

Core Features & Use Cases

  • Three-step adaptive workflow: Abstract, Measure, Branch to separate concerns and enable scalable UI decisions.
  • Breakpoint-driven layouts: Compact (mobile) <600, Medium (tablet) 600-839, Expanded (desktop) >=840.
  • Platform and input-awareness: supports mobile, tablet, desktop, and web with touch, mouse, and keyboard interactions.
  • Navigation pattern adaptation: seamlessly switch between NavigationBar and NavigationRail based on available space.
  • Practical guidance and examples: includes reference patterns for capabilities/policy design and adaptive layout strategies.

Quick Start

Create a minimal Flutter app that demonstrates an adaptive UI with breakpoints and responsive navigation.

Frequently Asked Questions about flutter-adaptive-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build responsive layouts in Flutter for mobile, tablet, and desktop?

Build responsive layouts in Flutter by applying a three-step workflow: Abstract, Measure, and Branch. Use LayoutBuilder and MediaQuery.sizeOf to separate concerns and enable scalable UI decisions across different screen dimensions.

What breakpoint values should I use for adaptive UI in Flutter?

Use breakpoint values of Compact for mobile under 600, Medium for tablet between 600-839, and Expanded for desktop at 840 or above. These ranges drive layout branching and navigation pattern adaptation in Flutter applications.

How do I switch between NavigationBar and NavigationRail based on screen width in Flutter?

Switch between NavigationBar and NavigationRail by measuring available space with MediaQuery.sizeOf. When screen width crosses the 600-pixel breakpoint, transition from a bottom NavigationBar to a side NavigationRail for better space utilization.

Can I create a multiplatform Flutter UI that supports touch and mouse interactions?

Create multiplatform Flutter UIs that support touch, mouse, and keyboard interactions by implementing platform and input-awareness. This ensures your adaptive UI responds correctly whether running on mobile devices, desktop, or web.

What is the best way to structure a Flutter app for multiple screen sizes?

Structure your Flutter app for multiple screen sizes using the Abstract, Measure, Branch workflow. Abstract your UI components, measure constraints with LayoutBuilder, and branch layout logic using defined breakpoints to handle varying screen dimensions cleanly.

Do I need external packages to implement responsive design in Flutter?

You do not need external packages to implement responsive design in Flutter. The approach relies on built-in widgets like LayoutBuilder and MediaQuery.sizeOf, applying breakpoint logic to manage adaptive layouts without adding dependencies.