From 45c7bd6fcabe43520c2defda0cb603be6326204b Mon Sep 17 00:00:00 2001 From: AN12345 Date: Mon, 12 Dec 2022 12:42:11 -0500 Subject: [PATCH] refactor(ui_layout): update example with components updates (close #90) --- .../example/lib/components/custom_app_bar.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/wyatt_ui_layout/example/lib/components/custom_app_bar.dart b/packages/wyatt_ui_layout/example/lib/components/custom_app_bar.dart index cb264c01..d025a569 100644 --- a/packages/wyatt_ui_layout/example/lib/components/custom_app_bar.dart +++ b/packages/wyatt_ui_layout/example/lib/components/custom_app_bar.dart @@ -13,7 +13,12 @@ class CustomAppBar extends AppBarComponent { ); @override - AppBarComponent configure({String? title}) => CustomAppBar( + AppBarComponent configure({ + String? title, + Widget? leading, + List? actions, + }) => + CustomAppBar( title: title ?? this.title, ); }