StatefulWidget constructor Null safety

const StatefulWidget(
  1. {Key? key}
)

Initializes key for subclasses.

Implementation

const StatefulWidget({ super.key });