@@ -55,7 +55,7 @@ class BackdropAppBar extends StatelessWidget implements PreferredSizeWidget {
5555 /// If this is `null` and if [BackdropAppBar.automaticallyImplyLeading] is
5656 /// set to `true` , [BackdropAppBar] sets the underlying [AppBar.leading] to
5757 /// [BackdropToggleButton] .
58- final Widget leading;
58+ final Widget ? leading;
5959
6060 /// See [AppBar.automaticallyImplyLeading] .
6161 ///
@@ -67,45 +67,45 @@ class BackdropAppBar extends StatelessWidget implements PreferredSizeWidget {
6767 final bool automaticallyImplyLeading;
6868
6969 /// The widget that should be displayed as the [AppBar] title.
70- final Widget title;
70+ final Widget ? title;
7171
7272 /// See [AppBar.actions] .
73- final List <Widget > actions;
73+ final List <Widget >? actions;
7474
7575 /// See [AppBar.flexibleSpace] .
76- final Widget flexibleSpace;
76+ final Widget ? flexibleSpace;
7777
7878 /// See [AppBar.bottom] .
79- final PreferredSizeWidget bottom;
79+ final PreferredSizeWidget ? bottom;
8080
8181 /// See [AppBar.elevation] .
8282 ///
8383 /// Defaults to 0.0. This differs from [AppBar.elevation] .
8484 final double elevation;
8585
8686 /// See [AppBar.shape]
87- final ShapeBorder shape;
87+ final ShapeBorder ? shape;
8888
8989 /// See [AppBar.backgroundColor] .
90- final Color backgroundColor;
90+ final Color ? backgroundColor;
9191
9292 /// See [AppBar.brightness] .
93- final Brightness brightness;
93+ final Brightness ? brightness;
9494
9595 /// See [AppBar.iconTheme] .
96- final IconThemeData iconTheme;
96+ final IconThemeData ? iconTheme;
9797
9898 /// See [AppBar.actionsIconTheme] .
99- final IconThemeData actionsIconTheme;
99+ final IconThemeData ? actionsIconTheme;
100100
101101 /// See [AppBar.textTheme] .
102- final TextTheme textTheme;
102+ final TextTheme ? textTheme;
103103
104104 /// See [AppBar.primary] .
105105 final bool primary;
106106
107107 /// See [AppBar.centerTitle] .
108- final bool centerTitle;
108+ final bool ? centerTitle;
109109
110110 /// See [AppBar.excludeHeaderSemantics] .
111111 final bool excludeHeaderSemantics;
@@ -127,7 +127,7 @@ class BackdropAppBar extends StatelessWidget implements PreferredSizeWidget {
127127 ///
128128 /// For more information see [AppBar] .
129129 BackdropAppBar ({
130- Key key,
130+ Key ? key,
131131 this .leading,
132132 this .automaticallyImplyLeading = true ,
133133 this .title,
0 commit comments