diff --git a/lib/common/widgets/dynamic_sliver_appbar.dart b/lib/common/widgets/dynamic_sliver_appbar.dart index a283209f..cc5a4305 100644 --- a/lib/common/widgets/dynamic_sliver_appbar.dart +++ b/lib/common/widgets/dynamic_sliver_appbar.dart @@ -133,32 +133,9 @@ class _DynamicSliverAppBarState extends State { } if (_height == 0) { return SliverToBoxAdapter( - child: Stack( - children: [ - Padding( - // Padding which centers the flexible space within the app bar - padding: EdgeInsets.symmetric( - vertical: MediaQuery.paddingOf(context).top / 2), - child: Container( - key: _childKey, - child: - widget.flexibleSpace ?? SizedBox(height: kToolbarHeight)), - ), - Positioned.fill( - // 10 is the magic number which the app bar is pushed down within the sliver app bar. Couldnt find exactly where this number - // comes from and found it through trial and error. - top: 10, - child: Align( - alignment: Alignment.topCenter, - child: AppBar( - backgroundColor: Colors.transparent, - elevation: 0, - leading: widget.leading, - actions: widget.actions, - ), - ), - ) - ], + child: Container( + key: _childKey, + child: widget.flexibleSpace ?? SizedBox(height: kToolbarHeight), ), ); } diff --git a/lib/pages/member/new/widget/user_info_card.dart b/lib/pages/member/new/widget/user_info_card.dart index 96f859a7..08c8196b 100644 --- a/lib/pages/member/new/widget/user_info_card.dart +++ b/lib/pages/member/new/widget/user_info_card.dart @@ -229,7 +229,7 @@ class UserInfoCard extends StatelessWidget { Padding( padding: const EdgeInsets.only(left: 20, top: 6, right: 20), child: Wrap( - spacing: 5, + spacing: 8, runSpacing: 8, crossAxisAlignment: WrapCrossAlignment.end, children: [