6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 132c55de
Changed files
comwell_key_app/lib/common/components/comwell_app_bar.dart | 3 ++- comwell_key_app/lib/common/const.dart | 6 +++++- 2 files changed, 7 insertions(+), 2 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 5adad811..5094a24d 100644
--- a/comwell_key_app/lib/common/components/comwell_app_bar.dart
+++ b/comwell_key_app/lib/common/components/comwell_app_bar.dart
@@ -1,4 +1,5 @@
import 'package:comwell_key_app/common/components/round_icon_button.dart';
+import 'package:comwell_key_app/common/const.dart';
import 'package:comwell_key_app/routing/app_routes.dart';
import 'package:comwell_key_app/themes/light_theme.dart';
import 'package:flutter/material.dart';
@@ -66,5 +67,5 @@ class ComwellAppBar extends StatelessWidget implements PreferredSizeWidget {
}
@override
- Size get preferredSize => const Size.fromHeight(130);
+ Size get preferredSize => const Size.fromHeight(kComwellAppBarHeight);
}
diff --git a/comwell_key_app/lib/common/const.dart b/comwell_key_app/lib/common/const.dart
index 8efa19c6..fd49aa8f 100644
--- a/comwell_key_app/lib/common/const.dart
+++ b/comwell_key_app/lib/common/const.dart
@@ -3,8 +3,12 @@ const refreshToken = 'refresh_token';
const isEndpointSetup = 'isEndpointSetup';
const hasKey = 'hasKey';
const needsScaffold = 'needsScaffold';
+const kComwellAppBarHeight = 130.0;
+
// Adyen
class AdyenConstants {
static const merchantAccount = "ComwellHotelsECOM";
-}
\ No newline at end of file
+}
+
+