material3-expressive-flutter

Material 3 Expressive Flutter

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "material3-expressive-flutter" with this command: npx skills add mic-360/material3-expressive-flutter/mic-360-material3-expressive-flutter-material3-expressive-flutter

Material 3 Expressive Flutter

This skill provides comprehensive patterns, scripts, and rules for implementing the Material 3 Expressive design system in Flutter. It focuses on physics-based motion, organic shapes, and engagement-driven components.

How It Works

  • Requirement Analysis: When you ask about M3E, the agent analyzes the context (component type, state, importance).

  • Rule Application: It applies rules from rules/ (Motion Physics, Shape Morphing) to ensure design compliance.

  • Code Generation: It uses the scripts/component_template.dart as a base for premium, accessible, and high-performance components.

  • Verification: It audits the output against M3E principles like "Spatial vs Effects Springs" and "Shape Contrast".

When to Use

  • New Feature Development: When creating components requiring high user engagement (promos, onboarding, key actions).

  • Design Modernization: Updating standard M3 apps to the more fluid, expressive style.

  • Expressive Motion: Implementing spring-based animations for a natural feel.

  • Custom Shapes: Implementing morphing containers or non-standard rounded shapes.

Usage

  1. Scaffold a New Component

Use the template to create a robust, state-aware widget.

Path to script

flutter run scripts/component_template.dart

  1. Implementation Strategies

Trigger phrases:

  • "Implement a [component] with M3 Expressive style"

  • "Add expressive motion to this transition"

  • "Modernize this standard M3 button"

  • "Audit my UI against M3 Expressive principles"

Examples

Spatial Spring Motion (Example)

// Use for movement and position Curves.elasticOut; // Strong, tactile response Cubic(0.34, 1.56, 0.64, 1); // Expressive overshoot

Shape Morphing Container

AnimatedContainer( duration: const Duration(milliseconds: 500), curve: Curves.elasticOut, decoration: ShapeDecoration( shape: M3ExpressiveShape.teardrop, // Custom token color: theme.colorScheme.primaryContainer, ), );

Reference Guides

  • Motion Guide - Spatial vs Effects Springs.

  • Shape System - Squircels, Teardrops, and Morphing.

  • Typography Guide - Editorial hierarchy.

  • Component Library - Patterns for all M3E components.

Rules & Standards

  • Physics Over Duration: Use springs (Spatial/Effects) instead of fixed durations.

  • Full Rounding: Use StadiumBorder() for buttons and primary indicators.

  • Meaningful Feedback: Always include HapticFeedback.lightImpact() for expressive actions.

  • Accessibility: Ensure minimum touch targets of 48x48dp and proper Semantics .

Troubleshooting

  • "Animation feels jittery": Ensure you aren't using Curves.linear or too short a duration (<200ms) with springs.

  • "Shape doesn't morph correctly": Ensure you are using ShapeDecoration with a custom ShapeBorder that supports interpolation.

  • "UI feels flat": Check color contrast and ensure you are using filled containers for primary actions.

Present Results to User

When completing an M3E task, summarize the expressive features added:

  • ✅ Motion: Applied [Spatial/Effects] springs for [Action].

  • ✅ Shape: Used [Pill/Teardrop/Squircel] for [Component].

  • ✅ Haptics: Integrated tactile feedback.

  • ✅ Color: Dynamic M3 color tokens used.

  • ✅ Accessibility: Verified touch targets and semantics.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Pdf Watermark Chinese

PDF 水印添加和移除功能,支持文本和图像水印

Registry SourceRecently Updated
General

Icon

Icon - command-line tool for everyday use

Registry SourceRecently Updated
General

Skills of ETF data released by ft.tech.

A 股 ETF 数据技能集(market.ft.tech)。覆盖单只 ETF 详情、ETF 分页列表(排序/筛选)、ETF K 线(日/周/月/年线)、ETF 分钟级分时、ETF PCF 列表与下载。用户询问某只 ETF 行情、ETF 列表、ETF K 线、分时或 PCF 申购赎回清单时使用。

Registry SourceRecently Updated
General

Database Design

数据库设计助手。表设计、范式化、索引策略、迁移脚本、测试数据、ER图描述。Database designer with normalization, indexing, migration, seeding, ER diagrams. 数据库、MySQL。

Registry SourceRecently Updated