name property

String? name
final

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

Implementation

final String? name;