Answers for "TextFormFiel text update"

0

TextFormFiel text update

TextFormField(
  key: Key(_total.toString()), // <- Magic!
  initialValue: _total.toString(),
  keyboardType: TextInputType.number,
  decoration: InputDecoration(
    labelText: 'Total',
  ),
),
Posted by: Guest on January-23-2021

Browse Popular Code Answers by Language