shapes library

Material 3 Expressive shape system — 35 shapes, morphing, RTL support.

Classes

MaterialShapes
All 35 Material 3 Expressive shape definitions.
MorphableShapeBorder
A ShapeBorder that renders any MaterialShapes polygon.
RtlShapes
RTL-aware shape utilities.
ShapeMorph
A widget that morphs between two MaterialShapes with animation.

Functions

lerpShapePoints(List<Offset> a, List<Offset> b, double t) List<Offset>
Interpolates between two shape point lists.
smoothPathFromScaled(List<Offset> pts) Path
Builds a smooth closed path from already-scaled points.