StatefulWidget constructor

const StatefulWidget({Key key })

Initializes key for subclasses.

Implementation

const StatefulWidget({ Key key }) : super(key: key);