StatefulWidget constructor

const StatefulWidget({
  1. Key? key,
})

Initializes key for subclasses.

Implementation

const StatefulWidget({ super.key });