diff --git a/packages/wyatt_ui_layout/lib/src/presentation/layouts/app_bar_layout.dart b/packages/wyatt_ui_layout/lib/src/presentation/layouts/app_bar_layout.dart index 46d82bd8..9d392e1e 100644 --- a/packages/wyatt_ui_layout/lib/src/presentation/layouts/app_bar_layout.dart +++ b/packages/wyatt_ui_layout/lib/src/presentation/layouts/app_bar_layout.dart @@ -29,7 +29,10 @@ class AppBarLayout extends Layout { @override Widget build(BuildContext context) => Scaffold( - appBar: context.components.appBar.configure(title: title), + appBar: PreferredSize( + preferredSize: const Size.fromHeight(60), + child: context.components.appBar.configure(title: title), + ), body: body, ); } diff --git a/packages/wyatt_ui_layout/lib/src/presentation/layouts/frame_layout.dart b/packages/wyatt_ui_layout/lib/src/presentation/layouts/frame_layout.dart index ebe8f13b..f32b869f 100644 --- a/packages/wyatt_ui_layout/lib/src/presentation/layouts/frame_layout.dart +++ b/packages/wyatt_ui_layout/lib/src/presentation/layouts/frame_layout.dart @@ -32,7 +32,10 @@ class FrameLayout extends Layout { @override Widget build(BuildContext context) => Scaffold( - appBar: context.components.appBar.configure(title: title), + appBar: PreferredSize( + preferredSize: const Size.fromHeight(60), + child: context.components.appBar.configure(title: title), + ), body: body, bottomNavigationBar: context.components.bottomNavigationBar.configure( currentIndex: currentIndex,