tag property Null safety

dynamic tag
final

A custom name of your widget. It is used to rebuild this widget from your logic classes.

It can be String (for small projects) or enum member (enums are preferred for big projects).

///Each StateBuilder has a default tag which is its BuildContext

Implementation

final dynamic tag;