argumentName property

String argumentName
final

A reference to a WidgetBuilderDeclaration.argumentName.

In Builder(builder: (scope) => Text(text: scope.result.text));, "scope.result.text" is the WidgetBuilderArgReference. The argumentName is "scope" and its parts are ["result", "text"].

Implementation

final String argumentName;