2022年7月20日星期三

Check flutter version 3up? or not

enum AuthException {

  invalidEmail('Invalid email'),

  emailAlreadyInUse('Email already in use'),

  weakPassword('Password is too weak'),

  wrongPassword('Wrong password');


  const AuthException(this.message);

  final String message;

}


//dart 2.17 only

//lower than dart 2.17 cannot compile and error

沒有留言:

發佈留言