From da0f93202439e0ca82797625148cb6373eedc48a Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Tue, 6 Apr 2021 13:26:04 +0300 Subject: [PATCH] update Text Fields --- lib/widgets/shared/new_text_Field.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/widgets/shared/new_text_Field.dart b/lib/widgets/shared/new_text_Field.dart index 6ad3d570..f2e90f44 100644 --- a/lib/widgets/shared/new_text_Field.dart +++ b/lib/widgets/shared/new_text_Field.dart @@ -71,8 +71,8 @@ class NewTextFields extends StatefulWidget { this.prefixIcon, this.bare = false, this.onTap, - this.fontSize = 16.0, - this.fontWeight = FontWeight.w700, + this.fontSize = 15.0, + this.fontWeight = FontWeight.w500, this.autoValidate = false, this.hintColor, this.isEnabled = true}) @@ -197,7 +197,7 @@ class _NewTextFieldsState extends State { validator: widget.validator, onSaved: widget.onSaved, style: Theme.of(context).textTheme.body2.copyWith( - fontSize: widget.fontSize, fontWeight: widget.fontWeight), + fontSize: widget.fontSize, fontWeight: widget.fontWeight, color: Color(0xFF575757), fontFamily: 'Poppins'), inputFormatters: widget.keyboardType == TextInputType.phone ? [ WhitelistingTextInputFormatter.digitsOnly, @@ -207,7 +207,7 @@ class _NewTextFieldsState extends State { decoration: InputDecoration( labelText: widget.hintText, labelStyle: - TextStyle(color: Theme.of(context).textTheme.bodyText1.color), + TextStyle(color: Color(0xFF2E303A), fontSize:15,fontWeight: FontWeight.w700), errorBorder: OutlineInputBorder( borderSide: BorderSide( color: Theme.of(context).errorColor.withOpacity(0.5),