Skip to content

Commit

Permalink
fixed ui spec issue, multiple dropdown display and removed unfunction…
Browse files Browse the repository at this point in the history
…al button (#435)

Signed-off-by: Sachin S P <[email protected]>
Co-authored-by: Sachin S P <[email protected]>
  • Loading branch information
SachinPremkumar and Sachin S P authored Aug 28, 2024
1 parent f333c2f commit 8f91cba
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 32 deletions.
60 changes: 30 additions & 30 deletions lib/ui/onboard/onboarding_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,36 +30,36 @@ class OnboardingPage extends StatelessWidget {
body: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
alignment: Alignment.centerRight,
padding: EdgeInsets.symmetric(horizontal: 20.w, vertical: 20.h),
child: InkWell(
onTap: () {},
child: Container(
height: isMobileSize ? 46.h : 62.h,
width: 129.w,
decoration: BoxDecoration(
color: Colors.transparent,
border: Border.all(
color: appWhite,
),
borderRadius: const BorderRadius.all(
Radius.circular(5),
),
),
child: Center(
child: Text(
appLocalizations.help,
style: TextStyle(
fontSize: isMobileSize ? 16 : 22,
fontWeight: FontWeight.bold,
color: appWhite,
),
),
),
),
),
),
// Container(
// alignment: Alignment.centerRight,
// padding: EdgeInsets.symmetric(horizontal: 20.w, vertical: 20.h),
// child: InkWell(
// onTap: () {},
// child: Container(
// height: isMobileSize ? 46.h : 62.h,
// width: 129.w,
// decoration: BoxDecoration(
// color: Colors.transparent,
// border: Border.all(
// color: appWhite,
// ),
// borderRadius: const BorderRadius.all(
// Radius.circular(5),
// ),
// ),
// child: Center(
// child: Text(
// appLocalizations.help,
// style: TextStyle(
// fontSize: isMobileSize ? 16 : 22,
// fontWeight: FontWeight.bold,
// color: appWhite,
// ),
// ),
// ),
// ),
// ),
// ),
Expanded(
child: Padding(
padding: EdgeInsets.symmetric(horizontal: 20.w, vertical: 20.h),
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/process_ui/widgets/dynamic_dropdown_control.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ class _CustomDynamicDropDownState extends State<DynamicDropDownControl> {
for (var item in temp) {
if (item!.code == value.code) {
registrationTaskProvider.addSimpleTypeDemographicField(
widget.field.id ?? "", item.name, code);
widget.field.id ?? "", value.code, code);
}
}
}
} else {
registrationTaskProvider.addDemographicField(
widget.field.id ?? "", value.name);
widget.field.id ?? "", value.code);
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions lib/ui/process_ui/widgets/new_process_screen_content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ class _NewProcessScreenContentState extends State<NewProcessScreenContent> {
if (e.subType == "gender" || e.subType == "residenceStatus") {
return RadioButtonControl(field: e);
}
//feature will implement
if (e.subType == "selectedHandles") {
return const SizedBox.shrink();
}
return Text("${e.controlType}");
case "textbox":
return TextBoxControl(e: e, validation: regexPattern);
Expand Down

0 comments on commit 8f91cba

Please sign in to comment.