shape method

shape.

Implementation

ShapeBorder shape(M3EToolbarShapeFamily family) {
  return family == M3EToolbarShapeFamily.round
      ? floatingShape()
      : dockedShape();
}