shapeStyle method

ShapeStyle? shapeStyle(
  1. String type
)

The style for a new shape of type, or null for its registered default.

Implementation

ShapeStyle? shapeStyle(String type) => shapes[type] ?? shape;