Question : change border color of TextField in flutter
Answered by : raksha-deshmukh
TextFormField( decoration: InputDecoration( labelText: "Resevior Name", fillColor: Colors.white, focusedBorder:OutlineInputBorder( borderSide: const BorderSide(color: Colors.white, width: 2.0), borderRadius: BorderRadius.circular(25.0), ), ), )
Source : https://stackoverflow.com/questions/54537467/how-to-change-flutter-text-field-border-color-on-focus | Last Update : Tue, 10 Nov 20
Question : flutter text border color
Answered by : grotesque-grebe-8vr4b715pfu4
Stack( children: <Widget>[ // Stroked text as border. Text( 'Greetings, planet!', style: TextStyle( fontSize: 40, foreground: Paint() ..style = PaintingStyle.stroke ..strokeWidth = 6 ..color = Colors.blue[700], ), ), // Solid text as fill. Text( 'Greetings, planet!', style: TextStyle( fontSize: 40, color: Colors.grey[300], ), ), ],
)
Source : https://stackoverflow.com/questions/52146269/how-to-decorate-text-stroke-in-flutter | Last Update : Tue, 10 Nov 20