fix: registration step

This commit is contained in:
2024-02-19 18:24:20 +07:00
parent 4f50dc951a
commit 9ba8b79112
13 changed files with 243 additions and 154 deletions

View File

@@ -60,6 +60,12 @@ class SelectFormView extends StatelessWidget {
) {
return Container(
height: SizeConfig.height * .45,
decoration: const BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.vertical(
top: Radius.circular(20),
),
),
padding: const EdgeInsets.all(16),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
@@ -94,7 +100,7 @@ class SelectFormView extends StatelessWidget {
bool selected = e.text == ctrl?.text;
return Card(
elevation: 0,
color: Colors.transparent,
color: Colors.white,
shape: RoundedRectangleBorder(
side: BorderSide(
color: selected
@@ -108,7 +114,8 @@ class SelectFormView extends StatelessWidget {
title: Text(
e.text,
style: TextStyle(
fontSize: 14,
fontSize: 16,
fontWeight: FontWeight.w500,
color: selected
? ColorPalette.primary
: ColorPalette.slate500),

View File

@@ -137,9 +137,9 @@ class TextFormView extends StatelessWidget {
onTap: onTap,
onEditingComplete: onSubmit,
style: TextStyle(
fontWeight: FontWeight.bold,
fontWeight: FontWeight.w500,
fontSize: 14,
color: fontColorDisabled ?? Colors.black,
color: fontColorDisabled ?? ColorPalette.slate500,
),
readOnly: readOnly,
validator: validator,