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
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
87Compare
Works with
Packages commonly used together with material_ui: ones it builds on, ones built on it, and its own family.
- intlmaterial_ui depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- vector_mathmaterial_ui depends on itVector math library for 2D/3D/4D vectors, matrices, quaternions, and geometry.
- material_color_utilitiesmaterial_ui depends on itAlgorithms and utilities for the Material Design 3 color system.
- cupertino_uimaterial_ui depends on itOfficial Flutter Cupertino design library implementing Apple HIG iOS and macOS user interfaces.
- path_parsingSame familyPure Dart library for parsing SVG path strings and generating Dart path code.
- flutter_shadersSame familyUtilities and shaders for working with the FragmentProgram API in Flutter
- go_routerBuilt on material_uiDeclarative routing package for Flutter based on Navigation 2 supporting deep links and URL-based navigation.
- flutter_riverpodBuilt on material_uiA reactive caching and data-binding framework for Flutter.