mirrored_repositories/Online-RC-Drone-Kits-Shop/lib
import 'package:flutter/cupertino.dart';
//keyboard stuffs
class KeyboardUtil {
  static void hideKeyboard(BuildContext context) {
    FocusScopeNode currentFocus = FocusScope.of(context);
    if (!currentFocus.hasPrimaryFocus) {
      currentFocus.unfocus();
    }
  }
}
