File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1+ ## [ 2.0.2] - 2021-04-11
2+
3+ * Add theme var to woosignal_app
4+
15## [ 2.0.1] - 2021-04-10
26
37* null check on Order vars
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ In your flutter project add the dependency:
1515``` dart
1616dependencies:
1717 ...
18- woosignal: ^2.0.1
18+ woosignal: ^2.0.2
1919```
2020
2121### Usage example #
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ class WooSignalApp {
3030 String ? wpLoginWpApiPath;
3131 int ? productPricesIncludeTax;
3232 int ? disableShipping;
33+ String ? theme;
3334
3435 WooSignalApp (
3536 {this .appName,
@@ -47,7 +48,8 @@ class WooSignalApp {
4748 this .wpLoginForgotPasswordUrl,
4849 this .wpLoginWpApiPath,
4950 this .productPricesIncludeTax,
50- this .disableShipping});
51+ this .disableShipping,
52+ this .theme});
5153
5254 WooSignalApp .fromJson (Map <String , dynamic > json) {
5355 appName = json['app_name' ];
@@ -68,6 +70,7 @@ class WooSignalApp {
6870 wpLoginWpApiPath = json['wp_login_wp_api_path' ];
6971 productPricesIncludeTax = json['product_prices_include_tax' ];
7072 disableShipping = json['disable_shipping' ];
73+ theme = json['theme' ];
7174 }
7275
7376 Map <String , dynamic > toJson () {
@@ -90,6 +93,7 @@ class WooSignalApp {
9093 data['wp_login_wp_api_path' ] = this .wpLoginWpApiPath;
9194 data['product_prices_include_tax' ] = this .productPricesIncludeTax;
9295 data['disable_shipping' ] = this .disableShipping;
96+ data['theme' ] = this .theme;
9397 return data;
9498 }
9599}
Original file line number Diff line number Diff line change 11name : woosignal
22description : WooCommerce REST API for dart, connect a WooCommerce store and start developing with our interface for their API endpoints.
3- version : 2.0.1
3+ version : 2.0.2
44homepage : https://woosignal.com
55repository : https://github.com/woosignal/flutter-woocommerce-api
66issue_tracker : https://github.com/woosignal/flutter-woocommerce-api/issues
You can’t perform that action at this time.
0 commit comments