nyStateSignatureForWidget function

String nyStateSignatureForWidget(
  1. String widgetTypeName
)

The closure signature part of a state name, without the Closure: prefix.

e.g. MyPage -> () => _MyPageState

Implementation

String nyStateSignatureForWidget(String widgetTypeName) =>
    "() => _${widgetTypeName}State";