@@ -12,6 +12,9 @@ abstract class BuildSettings with EquatableMixin {
1212 /// Whether to internally handle the node's visibility.
1313 final bool withVisibility;
1414
15+ /// Whether to internally handle the node's blend modes.
16+ final bool withBlendModes;
17+
1518 /// Whether to internally handle the node's rotation.
1619 final bool withRotation;
1720
@@ -40,6 +43,7 @@ abstract class BuildSettings with EquatableMixin {
4043 const BuildSettings ({
4144 this .withOpacity = true ,
4245 this .withVisibility = true ,
46+ this .withBlendModes = true ,
4347 this .withRotation = true ,
4448 this .withMargins = true ,
4549 this .withConstraints = true ,
@@ -54,6 +58,7 @@ abstract class BuildSettings with EquatableMixin {
5458 List <Object ?> get props => [
5559 withOpacity,
5660 withVisibility,
61+ withBlendModes,
5762 withRotation,
5863 withMargins,
5964 withConstraints,
@@ -90,6 +95,7 @@ class WidgetBuildSettings extends BuildSettings {
9095 const WidgetBuildSettings ({
9196 super .withOpacity,
9297 super .withVisibility,
98+ super .withBlendModes,
9399 super .withRotation,
94100 super .withMargins,
95101 super .withConstraints,
@@ -109,6 +115,7 @@ class WidgetBuildSettings extends BuildSettings {
109115 WidgetBuildSettings copyWith ({
110116 bool ? withOpacity,
111117 bool ? withVisibility,
118+ bool ? withBlendModes,
112119 bool ? withRotation,
113120 bool ? withMargins,
114121 bool ? withConstraints,
@@ -126,6 +133,7 @@ class WidgetBuildSettings extends BuildSettings {
126133 return WidgetBuildSettings (
127134 withOpacity: withOpacity ?? this .withOpacity,
128135 withVisibility: withVisibility ?? this .withVisibility,
136+ withBlendModes: withBlendModes ?? this .withBlendModes,
129137 withRotation: withRotation ?? this .withRotation,
130138 withMargins: withMargins ?? this .withMargins,
131139 withConstraints: withConstraints ?? this .withConstraints,
0 commit comments