import 'package:flutter/widgets.dart'; import 'package:get/get.dart'; import 'package:sk_base_mobile/config.dart'; import '../../constants/enum.dart'; import '../../store/auth.store.dart'; import '../../util/util.dart'; class LoginController extends GetxController { final isAgreeTerm = RxBool(false); final formKey = GlobalKey(); final passwordFocusNode = FocusNode(); bool loading = false; Future doLogin() async { if (!formKey.currentState!.validate()) { return; } } }