Skip to content

Commit

Permalink
#235 draw a thin line around the attribute box
Browse files Browse the repository at this point in the history
To draw a thin line around the attribute box in the registration screen
  • Loading branch information
lijogeorgep authored and josmilan committed Dec 5, 2023
1 parent dde3569 commit 476b5c9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
1 change: 1 addition & 0 deletions lib/app/core/values/app_colors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ abstract class AppColors {
static const Color colorLightGreen = Color(0xFF00EFA7);
static const Color colorWhite = Color(0xFFFFFFFF);
static const Color lightGreyColor = Color(0xFFC4C4C4);
static const Color veryLightGreyColor=Color(0xFFEEEEEE);
static const Color errorColor = Color(0xFFAB0B0B);
static const Color colorDark = Color(0xFF323232);

Expand Down
34 changes: 23 additions & 11 deletions lib/app/modules/register/views/register_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -454,17 +454,24 @@ class RegisterView extends BaseView<RegisterController> {
color: AppColors.pageBackground,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(cardRadius),

),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
getDataAgreement(context)
// _cgmWidget(context),
// const Divider(),
// _insightsWidget(context),
// const Divider(),
// _scannedImagesWidget(context),
],
child: Container(
decoration: BoxDecoration(
border: Border.all(color: AppColors.veryLightGreyColor),
borderRadius: BorderRadius.all(Radius.circular(cardRadius)),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
getDataAgreement(context)
// _cgmWidget(context),
// const Divider(),
// _insightsWidget(context),
// const Divider(),
// _scannedImagesWidget(context),
],
),
),
),
_bottomContentWidget(),
Expand Down Expand Up @@ -590,7 +597,12 @@ class RegisterView extends BaseView<RegisterController> {
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(cardRadius),
),
child: getDataAgreement(context)),
child: Container(
decoration: BoxDecoration(
border: Border.all(color: AppColors.veryLightGreyColor),
borderRadius: BorderRadius.all(Radius.circular(cardRadius)),
),
child: getDataAgreement(context))),
_bottomContentWidget(),
],
),
Expand Down

0 comments on commit 476b5c9

Please sign in to comment.