Merge pull request #71 from WDI-Ideas/product

text form fixed
This commit is contained in:
Raj
2024-06-07 18:01:24 +05:30
committed by GitHub
9 changed files with 21 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ class CustomTextFormField extends StatefulWidget {
this.onTap,
this.textCapV,
this.suffixIcon,
this.autofocus,
required this.autofocus,
}) : super(key: key);
final dynamic validator;

View File

@@ -210,7 +210,7 @@ class _HomeScreenState extends State<HomeScreen> {
.nSEINDEXNifty50!.lastPrice!,
),
),
sizedBoxWidth(10.w),
sizedBoxWidth(8.w),
commoncontainer(
width: 250.w,
text: homeModel
@@ -807,16 +807,16 @@ Widget commoncontainer({
),
),
child: Padding(
padding: EdgeInsets.symmetric(vertical: 10.h, horizontal: 6.w),
padding: EdgeInsets.symmetric(vertical: 10.h, horizontal: 5.w),
child: Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
text14W400_979797(text),
sizedBoxWidth(7.w),
sizedBoxWidth(5.w),
text16W600(amount),
sizedBoxWidth(7.w),
sizedBoxWidth(5.w),
rate.contains("-")
? SvgPicture.asset(
'assets/images/svg/Line 587.svg',

View File

@@ -222,7 +222,7 @@ class _VideosMoreState extends State<AudioMore> {
children: [
SizedBox(
width: 295.w,
child: CustomTextFormField(
child: CustomTextFormField( autofocus: false,
textEditingController: searchController,
onInput: (value) {
// Call method to handle search

View File

@@ -88,7 +88,7 @@ class _VideosMoreState extends State<ReadMore> {
children: [
SizedBox(
width: 295.w,
child: CustomTextFormField(
child: CustomTextFormField( autofocus: false,
textEditingController: searchController,
onInput: (value) {
// Call method to handle search

View File

@@ -84,7 +84,7 @@ class _VideosMoreState extends State<VideosMore> {
children: [
SizedBox(
width: 295.w,
child: CustomTextFormField(
child: CustomTextFormField( autofocus: false,
textEditingController: searchController,
onInput: (value) {
// Call method to handle search

View File

@@ -325,6 +325,7 @@ class _MyProfileScreenState extends State<MyProfileScreen> {
height: 15.h,
),
CustomTextFormField(
autofocus: false,
textEditingController: fullNameController,
enabled: isEdit.value,
validator: (value) {
@@ -345,6 +346,7 @@ class _MyProfileScreenState extends State<MyProfileScreen> {
height: 15.h,
),
CustomTextFormField(
autofocus: false,
textEditingController: emailController,
enabled: isEdit.value,
texttype: TextInputType.emailAddress,
@@ -361,6 +363,7 @@ class _MyProfileScreenState extends State<MyProfileScreen> {
height: 15.h,
),
CustomTextFormField(
autofocus: false,
textEditingController: phoneNoController,
enabled: isEdit.value,
texttype: TextInputType.phone,
@@ -377,6 +380,7 @@ class _MyProfileScreenState extends State<MyProfileScreen> {
height: 15.h,
),
CustomTextFormField(
autofocus: false,
textEditingController: dobController,
enabled: isEdit.value,
suffixIcon: const Icon(
@@ -400,6 +404,7 @@ class _MyProfileScreenState extends State<MyProfileScreen> {
height: 15.h,
),
CustomTextFormField(
autofocus: false,
textEditingController: cityController,
enabled: isEdit.value,
),

View File

@@ -149,6 +149,7 @@ class _AddDetailsState extends State<AddDetails> {
height: 15.h,
),
CustomTextFormField(
autofocus: false,
textEditingController: fullName,
),
SizedBox(
@@ -163,6 +164,7 @@ class _AddDetailsState extends State<AddDetails> {
height: 15.h,
),
CustomTextFormField(
autofocus: false,
textEditingController: email,
texttype: TextInputType.emailAddress,
),
@@ -178,6 +180,7 @@ class _AddDetailsState extends State<AddDetails> {
height: 15.h,
),
CustomTextFormField(
autofocus: false,
textEditingController: phone,
texttype: TextInputType.phone,
),
@@ -193,6 +196,7 @@ class _AddDetailsState extends State<AddDetails> {
height: 15.h,
),
CustomTextFormField(
autofocus: false,
textEditingController: dobcontroller,
suffixIcon: Icon(
Icons.calendar_month_outlined,
@@ -215,6 +219,7 @@ class _AddDetailsState extends State<AddDetails> {
height: 15.h,
),
CustomTextFormField(
autofocus: false,
textEditingController: city,
),
SizedBox(

View File

@@ -436,6 +436,7 @@ class _KycState extends State<Kyc> {
height: 15.h,
),
CustomTextFormField(
autofocus: false,
enabled:
fromScreen == "sidemenu-flow" ? false : true,
textCapV: TextCapitalization.characters,
@@ -458,6 +459,7 @@ class _KycState extends State<Kyc> {
height: 15.h,
),
CustomTextFormField(
autofocus: false,
enabled:
fromScreen == "sidemenu-flow" ? false : true,
textEditingController: aadhaarnumber,

View File

@@ -185,6 +185,7 @@ class _LoginScreenState extends State<LoginScreen> {
SizedBox(
width: 285.w,
child: CustomTextFormField(
autofocus: false,
texttype: TextInputType.phone,
textEditingController: phonecontroller,
// validator: (value) {