inputAccountValid method

bool inputAccountValid({
  1. String? msg = '请检查输入',
})

Implementation

bool inputAccountValid({String? msg = '请检查输入'}) {
  if (this.isTextEmpty || this.mxText.length < 5) {
    msg.toast();
    return false;
  }
  return true;
}