StatelessWidget constructor

const StatelessWidget(
  1. {Key key}
)

Initializes key for subclasses.

Implementation

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