Skip to content
pubscout

material_ui

1.11.1, released 4 days ago by flutter.dev

Official Flutter Material UI library implementing Google’s Material Design system.

WASM-readyUses material_ui
$ flutter pub add material_ui
Source repository

What it does

Provides a complete set of Material widgets, theming tools, and localization support for Flutter apps. Includes migration helpers to replace the built‑in material library.

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

Use it when

  • You need the full suite of Material Design widgets and theming in a separate package
  • You are migrating an existing app from the built‑in material library to a decoupled package
  • You want official, up‑to‑date Material 3 components and APIs

Skip it when

  • Your app only uses Cupertino or custom design systems
  • You need a minimal footprint and can work with the core flutter/material library
  • You require non‑Material UI components such as charts or maps

Strengths

  • Comprehensive, official Material widget set
  • Built‑in migration tools and compatibility bridge
  • Up‑to‑date Material 3 support and theming

Weaknesses

  • Adds package size on top of the core Flutter SDK
  • Duplicates functionality already available in flutter/material
  • Limited to Material design only

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
6
import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      builder: (context, child) => MaterialUiCompatibilityBridge(child: child!),
      home: const Scaffold(appBar: AppBar(title: Text('Home'))),
    );
  }
}

Alternatives

Packages that do the same job and could replace material_ui.

  • widgetbook

    Helps catalog and preview UI components, useful if you need a design system explorer rather than the widgets themselves

Works with

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