name property
Defines the name of the generated widget.
By default, uses the function name, such that:
Widget _myWidget(...)
generatesclass MyWidget
Widget __myWidget(...)
generatesclass _MyWidget
Implementation
final String? name;
Defines the name of the generated widget.
By default, uses the function name, such that:
Widget _myWidget(...)
generates class MyWidget
Widget __myWidget(...)
generates class _MyWidget
final String? name;