Skip to content

Commit

Permalink
refactor how close button is shown in bottomsheet
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikelStuivenberg committed Sep 10, 2024
1 parent 1de3bfc commit 767259d
Showing 1 changed file with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,22 @@ class FunBottomSheet extends StatelessWidget {
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
showCloseButton(),
// Title
TitleMediumText(
title,
textAlign: TextAlign.center,
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
const Spacer(),
Padding(
padding: const EdgeInsets.only(top: 24),
child: TitleMediumText(
title,
textAlign: TextAlign.center,
),
),
Expanded(
child: showCloseButton(),
),
],
),

// Icon
Expand Down

0 comments on commit 767259d

Please sign in to comment.