Currently, I know the method of hiding the soft keyboard using this code, by onTap methods of any widget.
onTap
FocusScope.of(context).requestFocus(new
GestureDetector( onTap: () { FocusScope.of(context).requestFocus(FocusNode()); }, behavior: HitTestBehavior.translucent, child: rootWidget )