I want to change my initial value from text form field... when i try to edit my initial value my application gone crash my TextFormField Code~:
TextField( controller: emailController..text = email, ),
my Email COntroller~:
TextEditingController emailController = TextEditingController();
emailController.value = TextEditingValue( text: email, selection: TextSelection.fromPosition( TextPosition(offset: email.length), ), );
2.1m questions
2.1m answers
60 comments
57.0k users