text form fixed
This commit is contained in:
@@ -22,7 +22,7 @@ class CustomTextFormField extends StatefulWidget {
|
|||||||
this.onTap,
|
this.onTap,
|
||||||
this.textCapV,
|
this.textCapV,
|
||||||
this.suffixIcon,
|
this.suffixIcon,
|
||||||
this.autofocus,
|
required this.autofocus,
|
||||||
}) : super(key: key);
|
}) : super(key: key);
|
||||||
|
|
||||||
final dynamic validator;
|
final dynamic validator;
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||||||
.nSEINDEXNifty50!.lastPrice!,
|
.nSEINDEXNifty50!.lastPrice!,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
sizedBoxWidth(10.w),
|
sizedBoxWidth(8.w),
|
||||||
commoncontainer(
|
commoncontainer(
|
||||||
width: 250.w,
|
width: 250.w,
|
||||||
text: homeModel
|
text: homeModel
|
||||||
@@ -807,16 +807,16 @@ Widget commoncontainer({
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: EdgeInsets.symmetric(vertical: 10.h, horizontal: 6.w),
|
padding: EdgeInsets.symmetric(vertical: 10.h, horizontal: 5.w),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
text14W400_979797(text),
|
text14W400_979797(text),
|
||||||
sizedBoxWidth(7.w),
|
sizedBoxWidth(5.w),
|
||||||
text16W600(amount),
|
text16W600(amount),
|
||||||
sizedBoxWidth(7.w),
|
sizedBoxWidth(5.w),
|
||||||
rate.contains("-")
|
rate.contains("-")
|
||||||
? SvgPicture.asset(
|
? SvgPicture.asset(
|
||||||
'assets/images/svg/Line 587.svg',
|
'assets/images/svg/Line 587.svg',
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ class _VideosMoreState extends State<AudioMore> {
|
|||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 295.w,
|
width: 295.w,
|
||||||
child: CustomTextFormField(
|
child: CustomTextFormField( autofocus: false,
|
||||||
textEditingController: searchController,
|
textEditingController: searchController,
|
||||||
onInput: (value) {
|
onInput: (value) {
|
||||||
// Call method to handle search
|
// Call method to handle search
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ class _VideosMoreState extends State<ReadMore> {
|
|||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 295.w,
|
width: 295.w,
|
||||||
child: CustomTextFormField(
|
child: CustomTextFormField( autofocus: false,
|
||||||
textEditingController: searchController,
|
textEditingController: searchController,
|
||||||
onInput: (value) {
|
onInput: (value) {
|
||||||
// Call method to handle search
|
// Call method to handle search
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ class _VideosMoreState extends State<VideosMore> {
|
|||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 295.w,
|
width: 295.w,
|
||||||
child: CustomTextFormField(
|
child: CustomTextFormField( autofocus: false,
|
||||||
textEditingController: searchController,
|
textEditingController: searchController,
|
||||||
onInput: (value) {
|
onInput: (value) {
|
||||||
// Call method to handle search
|
// Call method to handle search
|
||||||
|
|||||||
@@ -325,6 +325,7 @@ class _MyProfileScreenState extends State<MyProfileScreen> {
|
|||||||
height: 15.h,
|
height: 15.h,
|
||||||
),
|
),
|
||||||
CustomTextFormField(
|
CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
textEditingController: fullNameController,
|
textEditingController: fullNameController,
|
||||||
enabled: isEdit.value,
|
enabled: isEdit.value,
|
||||||
validator: (value) {
|
validator: (value) {
|
||||||
@@ -345,6 +346,7 @@ class _MyProfileScreenState extends State<MyProfileScreen> {
|
|||||||
height: 15.h,
|
height: 15.h,
|
||||||
),
|
),
|
||||||
CustomTextFormField(
|
CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
textEditingController: emailController,
|
textEditingController: emailController,
|
||||||
enabled: isEdit.value,
|
enabled: isEdit.value,
|
||||||
texttype: TextInputType.emailAddress,
|
texttype: TextInputType.emailAddress,
|
||||||
@@ -361,6 +363,7 @@ class _MyProfileScreenState extends State<MyProfileScreen> {
|
|||||||
height: 15.h,
|
height: 15.h,
|
||||||
),
|
),
|
||||||
CustomTextFormField(
|
CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
textEditingController: phoneNoController,
|
textEditingController: phoneNoController,
|
||||||
enabled: isEdit.value,
|
enabled: isEdit.value,
|
||||||
texttype: TextInputType.phone,
|
texttype: TextInputType.phone,
|
||||||
@@ -377,6 +380,7 @@ class _MyProfileScreenState extends State<MyProfileScreen> {
|
|||||||
height: 15.h,
|
height: 15.h,
|
||||||
),
|
),
|
||||||
CustomTextFormField(
|
CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
textEditingController: dobController,
|
textEditingController: dobController,
|
||||||
enabled: isEdit.value,
|
enabled: isEdit.value,
|
||||||
suffixIcon: const Icon(
|
suffixIcon: const Icon(
|
||||||
@@ -400,6 +404,7 @@ class _MyProfileScreenState extends State<MyProfileScreen> {
|
|||||||
height: 15.h,
|
height: 15.h,
|
||||||
),
|
),
|
||||||
CustomTextFormField(
|
CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
textEditingController: cityController,
|
textEditingController: cityController,
|
||||||
enabled: isEdit.value,
|
enabled: isEdit.value,
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -149,6 +149,7 @@ class _AddDetailsState extends State<AddDetails> {
|
|||||||
height: 15.h,
|
height: 15.h,
|
||||||
),
|
),
|
||||||
CustomTextFormField(
|
CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
textEditingController: fullName,
|
textEditingController: fullName,
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
@@ -163,6 +164,7 @@ class _AddDetailsState extends State<AddDetails> {
|
|||||||
height: 15.h,
|
height: 15.h,
|
||||||
),
|
),
|
||||||
CustomTextFormField(
|
CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
textEditingController: email,
|
textEditingController: email,
|
||||||
texttype: TextInputType.emailAddress,
|
texttype: TextInputType.emailAddress,
|
||||||
),
|
),
|
||||||
@@ -178,6 +180,7 @@ class _AddDetailsState extends State<AddDetails> {
|
|||||||
height: 15.h,
|
height: 15.h,
|
||||||
),
|
),
|
||||||
CustomTextFormField(
|
CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
textEditingController: phone,
|
textEditingController: phone,
|
||||||
texttype: TextInputType.phone,
|
texttype: TextInputType.phone,
|
||||||
),
|
),
|
||||||
@@ -193,6 +196,7 @@ class _AddDetailsState extends State<AddDetails> {
|
|||||||
height: 15.h,
|
height: 15.h,
|
||||||
),
|
),
|
||||||
CustomTextFormField(
|
CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
textEditingController: dobcontroller,
|
textEditingController: dobcontroller,
|
||||||
suffixIcon: Icon(
|
suffixIcon: Icon(
|
||||||
Icons.calendar_month_outlined,
|
Icons.calendar_month_outlined,
|
||||||
@@ -215,6 +219,7 @@ class _AddDetailsState extends State<AddDetails> {
|
|||||||
height: 15.h,
|
height: 15.h,
|
||||||
),
|
),
|
||||||
CustomTextFormField(
|
CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
textEditingController: city,
|
textEditingController: city,
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
|
|||||||
@@ -436,6 +436,7 @@ class _KycState extends State<Kyc> {
|
|||||||
height: 15.h,
|
height: 15.h,
|
||||||
),
|
),
|
||||||
CustomTextFormField(
|
CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
enabled:
|
enabled:
|
||||||
fromScreen == "sidemenu-flow" ? false : true,
|
fromScreen == "sidemenu-flow" ? false : true,
|
||||||
textCapV: TextCapitalization.characters,
|
textCapV: TextCapitalization.characters,
|
||||||
@@ -458,6 +459,7 @@ class _KycState extends State<Kyc> {
|
|||||||
height: 15.h,
|
height: 15.h,
|
||||||
),
|
),
|
||||||
CustomTextFormField(
|
CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
enabled:
|
enabled:
|
||||||
fromScreen == "sidemenu-flow" ? false : true,
|
fromScreen == "sidemenu-flow" ? false : true,
|
||||||
textEditingController: aadhaarnumber,
|
textEditingController: aadhaarnumber,
|
||||||
|
|||||||
@@ -185,6 +185,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
SizedBox(
|
SizedBox(
|
||||||
width: 285.w,
|
width: 285.w,
|
||||||
child: CustomTextFormField(
|
child: CustomTextFormField(
|
||||||
|
autofocus: false,
|
||||||
texttype: TextInputType.phone,
|
texttype: TextInputType.phone,
|
||||||
textEditingController: phonecontroller,
|
textEditingController: phonecontroller,
|
||||||
// validator: (value) {
|
// validator: (value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user