SharedPreferencesExt extension

on
  • dynamic

Methods

getBool({bool defaultValue = false}) bool

Available on dynamic, provided by the SharedPreferencesExt extension

getDouble({double defaultValue = 0.0}) double

Available on dynamic, provided by the SharedPreferencesExt extension

getInt({int defaultValue = 0}) int

Available on dynamic, provided by the SharedPreferencesExt extension

getString({String defaultValue = ""}) String

Available on dynamic, provided by the SharedPreferencesExt extension

getStringList({List<String>? defaultValue}) List<String>

Available on dynamic, provided by the SharedPreferencesExt extension

remove() → void

Available on dynamic, provided by the SharedPreferencesExt extension

setBool(bool value) → void

Available on dynamic, provided by the SharedPreferencesExt extension

setDouble(double value) → void

Available on dynamic, provided by the SharedPreferencesExt extension

setInt(int value) → void

Available on dynamic, provided by the SharedPreferencesExt extension

setString(String value) → void

Available on dynamic, provided by the SharedPreferencesExt extension

setStringList(List<String> value) → void

Available on dynamic, provided by the SharedPreferencesExt extension