Skip to content
pubscout

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.

WASM-ready
$ flutter pub add material_new_shapes
Source repository

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.

Works with

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