From cd2806b07b7a7af600b9d206cfe38e5fa505f1c2 Mon Sep 17 00:00:00 2001 From: AN12345 Date: Mon, 12 Dec 2022 12:36:40 -0500 Subject: [PATCH] refactor(bloc_layout): update example with new app bar entity (#90) --- .../example/lib/components/theme_components.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/wyatt_bloc_layout/example/lib/components/theme_components.dart b/packages/wyatt_bloc_layout/example/lib/components/theme_components.dart index f77d2770..2c57df62 100644 --- a/packages/wyatt_bloc_layout/example/lib/components/theme_components.dart +++ b/packages/wyatt_bloc_layout/example/lib/components/theme_components.dart @@ -18,7 +18,9 @@ class CustomAppBar extends AppBarComponent { ); @override - AppBarComponent configure({String? title}) => CustomAppBar( + AppBarComponent configure( + {String? title, Widget? leading, List? actions}) => + CustomAppBar( title: title ?? this.title, ); }