I am collecting user input with a TextFormField and when the user presses a FloatingActionButton indicating they are done, I want to dismiss the on
TextFormField
FloatingActionButton
Solution with FocusScope doesn't work for me. I found another:
import 'package:flutter/services.dart'; SystemChannels.textInput.invokeMethod('TextInput.hide');
It solved my problem.