Custom Shapes with ShapeBorder in Flutter: Superellipses, Decorations, and Material 3
Write a ShapeBorder subclass with getOuterPath, getInnerPath, and lerp, then use it in ShapeDecoration, RoundedSuperellipseBorder, and TextField borders.
November 10, 2026 AI Assistant