update initial value of a textfiled flutter code example
Example 1: flutter pretext on textfield
TextField(controller: TextEditingController()..text = 'Your initial value')
Example 2: textfield set value flutter
/// You can use a [TextFormField] instead of [TextField]
/// and use the [initialValue] property. for example:
TextFormField(initialValue: "I am smart")