6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit bb2ba404
Changed files
comwell_key_app/lib/common/components/comwell_app_bar.dart | 7 +++---- comwell_key_app/lib/common/components/round_icon_button.dart | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-)
Diff
diff --git a/comwell_key_app/lib/common/components/comwell_app_bar.dart b/comwell_key_app/lib/common/components/comwell_app_bar.dart
index e1eef311..5adad811 100644
--- a/comwell_key_app/lib/common/components/comwell_app_bar.dart
+++ b/comwell_key_app/lib/common/components/comwell_app_bar.dart
@@ -28,9 +28,9 @@ class ComwellAppBar extends StatelessWidget implements PreferredSizeWidget {
bottomRight: Radius.circular(24),
),
),
- height: 112,
+ height: preferredSize.height,
child: Padding(
- padding: const EdgeInsets.only(bottom: 10),
+ padding: const EdgeInsets.only(bottom: 16, left: 8, right: 8),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.end,
@@ -54,7 +54,6 @@ class ComwellAppBar extends StatelessWidget implements PreferredSizeWidget {
child: RoundIconButton(
color: Colors.white,
icon: "assets/icons/user-open.svg",
-
onPressed: () {
context.goNamed(AppRoutes.profile.name);
},
@@ -67,5 +66,5 @@ class ComwellAppBar extends StatelessWidget implements PreferredSizeWidget {
}
@override
- Size get preferredSize => const Size.fromHeight(112);
+ Size get preferredSize => const Size.fromHeight(130);
}
diff --git a/comwell_key_app/lib/common/components/round_icon_button.dart b/comwell_key_app/lib/common/components/round_icon_button.dart
index f4e74139..9d0f1b0a 100644
--- a/comwell_key_app/lib/common/components/round_icon_button.dart
+++ b/comwell_key_app/lib/common/components/round_icon_button.dart
@@ -17,7 +17,7 @@ class RoundIconButton extends StatelessWidget {
return ElevatedButton(
onPressed: () {onPressed();},
style: ElevatedButton.styleFrom(
- fixedSize: const Size(36, 36),
+ minimumSize: const Size(45, 45),
elevation: 0,
backgroundColor: color,
shape: const CircleBorder(side: BorderSide(style: BorderStyle.none)),