Skip to content
pubscout

material_3_expressive

1.2.3, released 3 days ago by an unverified publisher

A faithful Flutter implementation of the Material 3 Expressive component set.

WASM-readyUses material_ui
$ flutter pub add material_3_expressive
Source repository

What it does

Provides 44 M3E widget components across Actions, Selection, Containment, Navigation, and Feedback with spring physics and shape morphing. Exposes design tokens and themes through M3ETheme and M3EMaterialApp.

AI-written summary of version 1.2.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to build an app using the Material 3 Expressive component set and guidelines
  • You need ready-to-use widgets with spring-driven press feedback, shape morphing, and state layers

Skip it when

  • You must use standard package:flutter/material.dart directly without importing material_ui
  • You require a non-Material custom design system or Cupertino styling

Strengths

  • Comprehensive coverage of 44 widgets across 39 component modules
  • Expressive motion and interaction with spring physics and per-destination selection indicators
  • Built-in support for dynamic color, seed colors, and custom typography scales

Weaknesses

  • Requires switching from package:flutter/material.dart to package:material_ui/material_ui.dart
  • Potential name clashes for RoundedPolygon and CornerRounding requiring import hiding

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
6

Add the dependency to pubspec.yaml and import package:material_3_expressive/material_3_expressive.dart along with material_ui instead of standard material.dart.

import 'package:material_ui/material_ui.dart';
import 'package:material_3_expressive/material_3_expressive.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return M3EMaterialApp(
      title: 'My App',
      data: M3EThemeData.light(seedColor: const Color(0xFF6750A4)),
      home: const Scaffold(body: Center(child: Text('Hello Expressive'))),
    );
  }
}

Alternatives

Packages that do the same job and could replace material_3_expressive.

  • shadcn_ui

    Flutter port of the shadcn/ui design system with customizable components.

  • shad

    A Flutter port of shadcn/ui with 40+ components and no Material dependency.

  • m3e_core

    A Flutter package providing Material 3 expressive components and shapes.

  • m3e_buttons

    Material 3 Expressive button components for Flutter with spring motion and toggle groups.

Works with

Packages commonly used together with material_3_expressive: ones it builds on, ones built on it, and its own family.