enable track widget creation on debug builds (#37512)
This commit is contained in:
@@ -96,7 +96,7 @@ class KernelSnapshot extends Target {
|
||||
final CompilerOutput output = await compiler.compile(
|
||||
sdkRoot: artifacts.getArtifactPath(Artifact.flutterPatchedSdkPath, mode: buildMode),
|
||||
aot: buildMode != BuildMode.debug,
|
||||
trackWidgetCreation: false,
|
||||
trackWidgetCreation: buildMode == BuildMode.debug,
|
||||
targetModel: TargetModel.flutter,
|
||||
targetProductVm: buildMode == BuildMode.release,
|
||||
outputFilePath: environment.buildDir.childFile('app.dill').path,
|
||||
|
||||
Reference in New Issue
Block a user