AutomaticNotchedShape constructor Null safety

const AutomaticNotchedShape(
  1. ShapeBorder host,
  2. [ShapeBorder? guest]
)

Creates a NotchedShape that is defined by two ShapeBorders.

The host must not be null.

The guest may be null, in which case no notch is created even if a guest rectangle is provided to getOuterPath.

Implementation

const AutomaticNotchedShape(this.host, [ this.guest ]);