Widget constructor

const Widget(
  1. {Key? key}
)

Initializes key for subclasses.

Implementation

const Widget({ this.key });