@@ -78,6 +78,8 @@ class MaterialAppBarData extends _BaseData {
7878 this .forceMaterialTransparency,
7979 this .actionsPadding,
8080 this .useDefaultSemanticsOrder,
81+ this .animateColor,
82+ this .automaticallyImplyActions,
8183 });
8284
8385 final List <Widget >? actions;
@@ -106,11 +108,12 @@ class MaterialAppBarData extends _BaseData {
106108 final bool ? forceMaterialTransparency;
107109 final EdgeInsetsGeometry ? actionsPadding;
108110 final bool ? useDefaultSemanticsOrder;
111+ final bool ? animateColor;
112+ final bool ? automaticallyImplyActions;
109113}
110114
111115class CupertinoNavigationBarData extends _BaseData {
112116 CupertinoNavigationBarData ({
113- super .title,
114117 super .backgroundColor,
115118 super .leading,
116119 super .widgetKey,
@@ -127,7 +130,8 @@ class CupertinoNavigationBarData extends _BaseData {
127130 this .heroTag,
128131 this .noMaterialParent = false ,
129132 this .enableBackgroundFilterBlur,
130- });
133+ Widget ? middle,
134+ }) : super (title: middle);
131135
132136 final Widget ? trailing;
133137 final Border ? border;
@@ -212,6 +216,8 @@ class PlatformAppBar
212216 forceMaterialTransparency: data? .forceMaterialTransparency ?? false ,
213217 actionsPadding: data? .actionsPadding,
214218 useDefaultSemanticsOrder: data? .useDefaultSemanticsOrder ?? true ,
219+ animateColor: data? .animateColor ?? false ,
220+ automaticallyImplyActions: data? .automaticallyImplyActions ?? true ,
215221 );
216222 }
217223
0 commit comments