From 3e99fc6cb6f94732cbe7817312c3784d1e42f48f Mon Sep 17 00:00:00 2001 From: Juanjo Tugores Date: Wed, 24 Jan 2024 20:31:29 -0800 Subject: [PATCH] [WIP] bind the builder argument. --- packages/rfw/lib/src/flutter/runtime.dart | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/rfw/lib/src/flutter/runtime.dart b/packages/rfw/lib/src/flutter/runtime.dart index 89c386a2d684..1ce4e449b35b 100644 --- a/packages/rfw/lib/src/flutter/runtime.dart +++ b/packages/rfw/lib/src/flutter/runtime.dart @@ -395,7 +395,15 @@ class Runtime extends ChangeNotifier { /// [LocalWidgetBuilder] rather than a [WidgetDeclaration], and is used to /// provide source information for local widgets (which otherwise could not be /// associated with a part of the source). See also [Runtime.blobNodeFor]. - _CurriedWidget _applyConstructorAndBindArguments(FullyQualifiedWidgetName fullName, DynamicMap arguments, int stateDepth, Set usedWidgets, BlobNode? source) { + _CurriedWidget _applyConstructorAndBindArguments( + FullyQualifiedWidgetName fullName, + DynamicMap arguments, + int stateDepth, + Set usedWidgets, + BlobNode? source, { + // TODO(tugorez): Fix this. + DynamicMap? builderArg, + }) { final _ResolvedConstructor? widget = _findConstructor(fullName); if (widget != null) { if (widget.constructor is WidgetDeclaration) {