flutter change textfield from outisde code example
Example: textfield set value flutter
/// You can use a [TextFormField] instead of [TextField]
/// and use the [initialValue] property. for example:
TextFormField(initialValue: "I am smart")
/// You can use a [TextFormField] instead of [TextField]
/// and use the [initialValue] property. for example:
TextFormField(initialValue: "I am smart")