StatefulWidget constructor

const StatefulWidget(
  1. {Key key}
)

Initializes key for subclasses.

Implementation

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