Search
 
SCRIPT & CODE EXAMPLE
 

DART

flutter text form field change underline color

decoration: InputDecoration(        
  enabledBorder: UnderlineInputBorder(      
    borderSide: BorderSide(color: theColor),   
  ),  
  focusedBorder: UnderlineInputBorder(
    borderSide: BorderSide(color: theColor),
  ),
  border: UnderlineInputBorder(
    borderSide: BorderSide(color: theColor),
  ),
)
Comment

How to Change the underline Color of TextFormField

TextField(
 decoration: InputDecoration(
    enabledBorder: UnderlineInputBorder(borderSide: BorderSide(color: Colors.red,width: 2.0)),
    focusedBorder: UnderlineInputBorder(borderSide: BorderSide(color: Colors.teal,width: 5.0)),
    labelText: 'Your Email or Phone'
  )
)
Comment

PREVIOUS NEXT
Code Example
Dart :: asset image in circle avatar flutter 
Dart :: flutter statusbar height 
Dart :: decode, encode base64 dart 
Dart :: copy to clipboard flutter 
Dart :: materialstateproperty 
Dart :: const text style flutter 
Dart :: flutter border around textbutton 
Dart :: listtile remove padding flutter 
Dart :: flutter insecure http is not allowed by platform 
Dart :: Container border left 
Dart :: undeline to text in flutter 
Dart :: flutter textfield with icon onclick 
Dart :: textfield style flutter 
Dart :: refresh indicator flutter 
Dart :: flutter delete chip 
Dart :: velocity x circle 
Dart :: alertdialog flutter barrierColor 
Dart :: flutter animated opacity 
Dart :: RenderFlex overflowed 
Dart :: flutter icon tap 
Dart :: how to subtract dates in flutter 
Dart :: flutter safearea 
Dart :: flutter performance timer 
Dart :: dart filter list 
Dart :: flutter dart sort list of objects 
Dart :: destructor in dart 
Dart :: dart to string 
Dart :: dart ternary operator multiple 
Dart :: flutter ios disable back gesture 
Dart :: flutter cliprect 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =