bool inputTextValid({String? msg = '请检查输入'}) { if (this.isTextEmpty) { msg.toast(); return false; } return true; }