Skip to content

Instantly share code, notes, and snippets.

@ashishrawat2911
Created April 22, 2019 11:16
Show Gist options
  • Select an option

  • Save ashishrawat2911/bac6897604ac01b544915a3ef25c4aff to your computer and use it in GitHub Desktop.

Select an option

Save ashishrawat2911/bac6897604ac01b544915a3ef25c4aff to your computer and use it in GitHub Desktop.
addDoubleToSF() async {
SharedPreferences prefs = await SharedPreferences.getInstance();
prefs.setDouble('doubleValue', 115.0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment