Last active
March 28, 2024 11:06
-
-
Save simonpham/4aaab5a8ddfcae06fdb0057aeb6230b8 to your computer and use it in GitHub Desktop.
Hi! I'm using this code but I get this error: Undefined name '_internal'. Try correcting the name to one that is defined, or defining the name.
Make sure you didn't miss this line:
SharedPrefs._internal();
Anyway, please check my above comment.
I'm sry I meant '_instance'. Anyway I'm checking your awesome package
I'm sry I meant '_instance'. Anyway I'm checking your awesome package
I have updated the code. Apologize for my mistake.
static final SharedPrefs _instance = SharedPrefs._internal();
how many years experience in flutter?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! I'm using this code but I get this error:
Undefined name '_internal'. Try correcting the name to one that is defined, or defining the name.
Thank you for your post in medium!