Widget constructor

const Widget({Key key })

Initializes key for subclasses.

Implementation

const Widget({ this.key });