diff --git a/lib/Common_widgets/Custom_Box.dart b/lib/Common_widgets/Custom_Box.dart index 5407728..132e3c9 100644 --- a/lib/Common_widgets/Custom_Box.dart +++ b/lib/Common_widgets/Custom_Box.dart @@ -16,8 +16,8 @@ class Custom_Box extends StatefulWidget { final double left; final double right; final double bottom; - - Custom_Box({super.key, required this.controller,required this.prefixicon, this.prefixIconColor=Colors.blueAccent, required this.hintText,this.top=2.0, this.left=7, this.right=10,this.bottom=11}); + final TextStyle style; + Custom_Box({super.key, required this.controller,required this.prefixicon, this.prefixIconColor=Colors.blueAccent, required this.hintText,this.top=2.0, this.left=7, this.right=10,this.bottom=11,this.style = const TextStyle()}); @override State createState() => _Custom_BoxState(); diff --git a/lib/Screens/Login.dart b/lib/Screens/Login.dart index 7e302d2..38eb09f 100644 --- a/lib/Screens/Login.dart +++ b/lib/Screens/Login.dart @@ -50,14 +50,18 @@ class _LoginState extends State { prefixIconColor: Colors.blueAccent.shade700, controller:Usernamecontroller, prefixicon:Icon(Icons.person,size:35), - hintText:'Username'), + hintText:'Username', + style: TextStyle(color:Colors.red) + ), Custom_Box( top: 20, prefixIconColor: Colors.blueAccent.shade700, controller:passwordcontroller, prefixicon:Icon(Icons.password,size:35), - hintText:'Password '), + hintText:'Password ', + style: TextStyle(color:Colors.red) + ), SizedBox( height: 40, ), diff --git a/lib/Screens/SignUp.dart b/lib/Screens/SignUp.dart index 891a73c..e9ebbd5 100644 --- a/lib/Screens/SignUp.dart +++ b/lib/Screens/SignUp.dart @@ -58,28 +58,38 @@ class _SignUpState extends State { prefixIconColor: Colors.blueAccent.shade700, controller:nameController, prefixicon:Icon(Icons.person,size:35), - hintText:'Name'), + hintText:'Name', + style: TextStyle(color:Colors.red) + ), Custom_Box( prefixIconColor: Colors.blueAccent.shade700, controller:usernameController, prefixicon:Icon(Icons.account_box_outlined,size:35), - hintText:'Username'), + hintText:'Username', + style: TextStyle(color:Colors.red) + ), Custom_Box( prefixIconColor: Colors.blueAccent.shade700, controller:emailController, prefixicon:Icon(Icons.email_sharp,size:35), - hintText:'Email'), + hintText:'Email', + style: TextStyle(color:Colors.red) + ), Custom_Box( prefixIconColor: Colors.blueAccent.shade700, controller:passwordController, prefixicon:Icon(Icons.password,size:35), - hintText:'Password'), + hintText:'Password', + style: TextStyle(color:Colors.red) + ), Custom_Box( prefixIconColor: Colors.blueAccent.shade700, controller:confirmPasswordController, prefixicon:Icon(Icons.password,size:35), - hintText:'Confirm Password'), + hintText:'Confirm Password', + style: TextStyle(color:Colors.red) + ), SizedBox( height:9, ), diff --git a/lib/Screens/chat_screen.dart b/lib/Screens/chat_screen.dart index ed0b270..ec1fbd4 100644 --- a/lib/Screens/chat_screen.dart +++ b/lib/Screens/chat_screen.dart @@ -40,6 +40,13 @@ class _chat_screenState extends State { icon: 'Icons.person', isGroup: true, time: '1:20', + ), + chatmodel( + currentMessage: 'padhi karlo yarr', + name: 'your dost', + icon: 'Icons.person', + isGroup: false, + time: '8:20', ) ]; @override @@ -48,6 +55,7 @@ class _chat_screenState extends State { return Scaffold( appBar: AppBar( + backgroundColor: Colors.blueGrey, automaticallyImplyLeading: false, title: Text('Chat Screen'), backgroundColor: Colors.blueGrey,