skip to Main Content

Text in TextField of flutter is overflow the parent Container, Cannot align Vertical center for text in Textfield

enter image description here Container( padding: const EdgeInsets.symmetric(horizontal: 8), margin: const EdgeInsets.only(bottom: 16), height: 60, decoration: BoxDecoration( color: AppColors.boxColor, borderRadius: BorderRadius.circular(8)), child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Text( category.name, style: const TextStyle(fontSize: 18), ), isSelected ? Container( width: 130, height:…

VIEW QUESTION

In Flutter, how can I create a shape like this XML shape I created in android java app

I created an android app in java and I had this xml shape in it: <?xml version="1.0" encoding="UTF-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <corners android:radius="20dp"/> <padding android:left="10dp" android:right="10dp" android:top="10dp" android:bottom="10dp"/> <stroke android:width="1dp" android:color="@color/DodgerBlue"/> <solid android:color="@color/White" /> Now I am creating a flutter…

VIEW QUESTION

How i fix username password email is null in flutter

I use widget StatefulWidget and _inputFiled I've created a model class class Profile { String? email; String? username; String? password; Profile({ this.email, this.username, this.password, }); } And using like class _RegisterScreenState extends State<RegisterScreen> { final formKey = GlobalKey<FormState>(); Profile profile…

VIEW QUESTION
Back To Top
Search