Widget constructor Null safety

const Widget(
  1. {Key? key}
)

Initializes key for subclasses.

Implementation

const Widget({ this.key });