Answers for "how to set error in textfield in flutter"

10

text fieldform color flutter

TextField(
  style: TextStyle(color: Colors.red),
  decoration: InputDecoration(fillColor: Colors.orange, filled: true),
)
Posted by: Guest on June-11-2020
3

textfield set value flutter

/// You can use a [TextFormField] instead of [TextField]
/// and use the [initialValue] property. for example:

TextFormField(initialValue: "I am smart")
Posted by: Guest on September-23-2020

Code answers related to "how to set error in textfield in flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language