buildFill method

Widget buildFill(
  1. BuildContext context,
  2. MorphGlassSurface surface
)

Builds the widget that draws the plain surface flat, sized to its bounds.

The default fills MorphGlassSurface.localShape with MorphGlassSurface.color, as the control does without a painter.

Implementation

Widget buildFill(BuildContext context, MorphGlassSurface surface) =>
    CustomPaint(painter: _FillPainter(MorphFixed(_fillOf(surface))));