Fix bug where gradle build rule would rerun on switching from (#23183)
--track-widget-creation=false to --track-widget-creation=true but not when switching from --track-widget-creation=true to --track-widget-creation=false due to the surprising behavior of Gradle @Optional inputs.
This commit is contained in:
@@ -418,7 +418,7 @@ abstract class BaseFlutterTask extends DefaultTask {
|
||||
String[] fileSystemRoots
|
||||
@Optional @Input
|
||||
String fileSystemScheme
|
||||
@Optional @Input
|
||||
@Input
|
||||
Boolean trackWidgetCreation
|
||||
@Optional @Input
|
||||
String compilationTraceFilePath
|
||||
|
||||
Reference in New Issue
Block a user