LocalSettings class
Constructors
- LocalSettings({String locale = "", double mapLat = 0, double mapLng = 0, double mapZoom = 12, String hint = "", bool darkMode = false, bool showOnBoard = true, String logo = "", Color mainColor = const Color(0xff3c7396), String langVer = "", String email = "", String password = "", String type = "", double fontSizePlus = 0, double customerCategoryImageSize = 80})
- LocalSettings.createEmpty()
-
factory
-
LocalSettings.fromJson(Map<
String, dynamic> data) -
factory
Properties
- customerCategoryImageSize ↔ double
-
getter/setter pair
- darkMode ↔ bool
-
getter/setter pair
- email ↔ String
-
getter/setter pair
- fontSizePlus ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint ↔ String
-
getter/setter pair
- langVer ↔ String
-
getter/setter pair
- locale ↔ String
-
getter/setter pair
- logo ↔ String
-
getter/setter pair
- mainColor ↔ Color
-
getter/setter pair
- mapLat ↔ double
-
getter/setter pair
- mapLng ↔ double
-
getter/setter pair
- mapZoom ↔ double
-
getter/setter pair
- password ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showOnBoard ↔ bool
-
getter/setter pair
- type ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveCustomerCategoryImageSize(
double _customerCategoryImageSize) → dynamic -
saveFontSizePlus(
double _fontSizePlus) → dynamic -
saveLogin(
String _email, String _password, String _type) → dynamic -
setDarkMode(
bool val) → dynamic -
setHint(
String val) → dynamic -
setLangVersion(
String val) → dynamic -
setLocal(
String value) → dynamic -
setLogo(
String val) → dynamic -
setMainColor(
Color val) → dynamic -
setMap(
double lat, double lng, double zoom) → dynamic -
setShowOnBoard(
bool val) → dynamic -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited