Changes the implementation of a StatelessWidget to that of
a StatefulWidget, by creating the State class and moving
the code there.

Snippets

Snippets can be used to speed up entering typical code structures.
They are invoked by typing their prefix,
and then selecting from the code completion window:

The Flutter extension includes the following snippets:

Prefix stless: Create a new subclass of StatelessWidget.

Prefix stful: Create a new subclass of StatefulWidget
and its associated State subclass.

Prefix stanim: Create a new subclass of StatefulWidget,
and its associated State subclass including a field initialized
with an AnimationController.

You can also define custom snippets by executing
Configure User Snippets from the Command Palette.

Keyboard shortcuts