From 25cf83c7b896208b051eb4acddf36ff7f2c42c0b Mon Sep 17 00:00:00 2001 From: "mirza.shafique" Date: Wed, 22 Mar 2023 15:12:09 +0300 Subject: [PATCH] First Commit 1.0 --- lib/views/user/register_page.dart | 4 ++-- lib/widgets/button/show_image_button.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/views/user/register_page.dart b/lib/views/user/register_page.dart index 2eae5dd..ee7b879 100644 --- a/lib/views/user/register_page.dart +++ b/lib/views/user/register_page.dart @@ -60,8 +60,8 @@ class _RegisterPageState extends State { dropList.add(DropValue( element.id ?? 0, EasyLocalization.of(context)?.currentLocale?.countryCode == "SA" - ? (element.countryNameN ?? "") + " " + (element.countryCode ?? "") - : (element.countryName ?? "") + " " + (element.countryCode ?? ""), + ? "${element.countryNameN ?? ""} ${element.countryCode ?? ""}" + : "${element.countryName ?? ""} ${element.countryCode ?? ""}", element.countryCode ?? "")); }); return Column( diff --git a/lib/widgets/button/show_image_button.dart b/lib/widgets/button/show_image_button.dart index fd96809..2519233 100644 --- a/lib/widgets/button/show_image_button.dart +++ b/lib/widgets/button/show_image_button.dart @@ -26,7 +26,7 @@ class ShowImageButton extends StatelessWidget { child: Card( color: MyColors.darkPrimaryColor, shape: RoundedRectangleBorder( - side: BorderSide(color: Colors.transparent, width: 1), + side: const BorderSide(color: Colors.transparent, width: 1), borderRadius: BorderRadius.circular(8), ), child: Padding(