material_new_shapes
1.0.0, released a year ago by an unverified publisher
Provides Material 3 shape definitions (e.g., RoundedPolygon, Cubic) for Flutter UI.
What it does
The package implements the core shape primitives from Material 3, such as RoundedPolygon and Cubic, and includes utilities for feature mapping and point manipulation. It lets developers apply the same shape logic used in Android to Flutter widgets.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need custom Material 3‑compliant shapes in a Flutter app
- You want lightweight shape utilities without extra dependencies
Skip it when
- You require a full widget kit or complex animations
- You need state‑management or networking features
Strengths
- Accurate Material 3 shape implementation
- Small, focused API
- No code‑generation step required
Weaknesses
- Limited to shape definitions only
- Sparse documentation beyond README
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
import 'package:material_new_shapes/material_new_shapes.dart';
final shape = RoundedPolygon(
sides: 6,
cornerRadius: 12,
);
// Use `shape` with a Container's decoration or a CustomPaint.
Alternatives
Packages that do the same job and could replace material_new_shapes.
- shape_of_view_null_safe
Give a custom shape to any Flutter widget with pre-built or custom shapes.
55Compare - split_button_m3e
Material 3 Expressive Split Button widget for Flutter with sizes, variants, and menus.
47Compare - flutter_speed_dial
Flutter plugin to implement a Material Design Speed Dial with labels and animated icons.
92Compare - splashscreen
A customizable, theme‑aware splash screen widget with timer or future navigation and entrance animations.
87Compare
Works with
Packages commonly used together with material_new_shapes: ones it builds on, ones built on it, and its own family.
- vector_mathmaterial_new_shapes depends on itVector math library for 2D/3D/4D vectors, matrices, quaternions, and geometry.
- expressive_loading_indicatorBuilt on material_new_shapesA Material 3 expressive loading indicator widget for Flutter.
- material_3_expressiveBuilt on material_new_shapesA faithful Flutter implementation of the Material 3 Expressive component set.
- loading_indicator_m3eBuilt on material_new_shapesMaterial 3 Expressive Loading Indicator featuring morphing polygons for Flutter.
- expressive_refreshBuilt on material_new_shapesPull‑to‑refresh widget with an expressive Material 3 animated loader
- material3_expressive_loading_indicatorBuilt on material_new_shapesMaterial Design 3 expressive loading and progress indicators for Flutter: morphing circular indicator, outlined variant, and wavy linear progress.
- m3e_collectionBuilt on material_new_shapesAggregated exports of all Material 3 Expressive components and design tokens for Flutter.