v2.0.8 Added pull to refresh, Pubspec.yaml updates, Bug fixes
This commit is contained in:
parent
cf336092a5
commit
c70f9d022d
@ -1,3 +1,9 @@
|
|||||||
|
## [2.0.8] - 2020-06-04
|
||||||
|
|
||||||
|
* Added pull to refresh
|
||||||
|
* Pubspec.yaml updates
|
||||||
|
* Bug fixes
|
||||||
|
|
||||||
## [2.0.7] - 2020-05-26
|
## [2.0.7] - 2020-05-26
|
||||||
|
|
||||||
* New default locales added for Spanish, German, French, Hindi, Italian, Portuguese
|
* New default locales added for Spanish, German, French, Hindi, Italian, Portuguese
|
||||||
|
|||||||
@ -58,4 +58,4 @@ List<PaymentType> arrPaymentMethods = [
|
|||||||
// pay: myCustomPaymentFunction
|
// pay: myCustomPaymentFunction
|
||||||
// ),
|
// ),
|
||||||
// ),
|
// ),
|
||||||
];
|
].where((e) => e != null).toList();
|
||||||
|
|||||||
@ -479,7 +479,7 @@ Widget refreshableScroll(context,
|
|||||||
@required onTap,
|
@required onTap,
|
||||||
key}) {
|
key}) {
|
||||||
return SmartRefresher(
|
return SmartRefresher(
|
||||||
enablePullDown: false,
|
enablePullDown: true,
|
||||||
enablePullUp: true,
|
enablePullUp: true,
|
||||||
footer: CustomFooter(
|
footer: CustomFooter(
|
||||||
builder: (BuildContext context, LoadStatus mode) {
|
builder: (BuildContext context, LoadStatus mode) {
|
||||||
|
|||||||
@ -16,7 +16,7 @@ import 'dart:ui';
|
|||||||
Developer Notes
|
Developer Notes
|
||||||
|
|
||||||
SUPPORT EMAIL - support@woosignal.com
|
SUPPORT EMAIL - support@woosignal.com
|
||||||
VERSION - 2.0.7
|
VERSION - 2.0.8
|
||||||
https://woosignal.com
|
https://woosignal.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -77,7 +77,9 @@ class _AccountOrderDetailPageState extends State<AccountOrderDetailPage> {
|
|||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Flexible(child: Text("${capitalize(trans(context, "Ships to"))}:")),
|
Flexible(
|
||||||
|
child: Text(
|
||||||
|
"${capitalize(trans(context, "Ships to"))}:")),
|
||||||
Flexible(
|
Flexible(
|
||||||
child: Text(
|
child: Text(
|
||||||
[
|
[
|
||||||
@ -152,13 +154,15 @@ class _AccountOrderDetailPageState extends State<AccountOrderDetailPage> {
|
|||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Text(
|
Text(
|
||||||
formatStringCurrency(
|
formatStringCurrency(
|
||||||
total: _order.lineItems[i].total,),
|
total: _order.lineItems[i].total,
|
||||||
|
),
|
||||||
style: Theme.of(context)
|
style: Theme.of(context)
|
||||||
.primaryTextTheme
|
.primaryTextTheme
|
||||||
.bodyText2
|
.bodyText2
|
||||||
.copyWith(
|
.copyWith(
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
color: Colors.black,),
|
color: Colors.black,
|
||||||
|
),
|
||||||
textAlign: TextAlign.left,
|
textAlign: TextAlign.left,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
@ -169,8 +173,9 @@ class _AccountOrderDetailPageState extends State<AccountOrderDetailPage> {
|
|||||||
.primaryTextTheme
|
.primaryTextTheme
|
||||||
.bodyText1
|
.bodyText1
|
||||||
.copyWith(
|
.copyWith(
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
color: Colors.black,),
|
color: Colors.black,
|
||||||
|
),
|
||||||
textAlign: TextAlign.left,
|
textAlign: TextAlign.left,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
@ -120,13 +120,12 @@ class _BrowseCategoryPageState extends State<BrowseCategoryPage> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _onRefresh() async {
|
void _onRefresh() async {
|
||||||
|
_products = [];
|
||||||
|
_page = 1;
|
||||||
|
_shouldStopRequests = false;
|
||||||
|
waitForNextRequest = false;
|
||||||
await _fetchMoreProducts();
|
await _fetchMoreProducts();
|
||||||
setState(() {});
|
_refreshController.refreshCompleted();
|
||||||
if (_shouldStopRequests) {
|
|
||||||
_refreshController.resetNoData();
|
|
||||||
} else {
|
|
||||||
_refreshController.refreshCompleted();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void _onLoading() async {
|
void _onLoading() async {
|
||||||
|
|||||||
@ -108,13 +108,12 @@ class _BrowseSearchState extends State<BrowseSearchPage> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _onRefresh() async {
|
void _onRefresh() async {
|
||||||
|
_products = [];
|
||||||
|
_page = 1;
|
||||||
|
_shouldStopRequests = false;
|
||||||
|
waitForNextRequest = false;
|
||||||
await _fetchProductsForSearch();
|
await _fetchProductsForSearch();
|
||||||
setState(() {});
|
_refreshController.refreshCompleted();
|
||||||
if (_shouldStopRequests) {
|
|
||||||
_refreshController.resetNoData();
|
|
||||||
} else {
|
|
||||||
_refreshController.refreshCompleted();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void _onLoading() async {
|
void _onLoading() async {
|
||||||
|
|||||||
@ -219,7 +219,8 @@ class CheckoutConfirmationPageState extends State<CheckoutConfirmationPage> {
|
|||||||
leadTitle: (CheckoutSession.getInstance
|
leadTitle: (CheckoutSession.getInstance
|
||||||
.billingDetails.billingAddress
|
.billingDetails.billingAddress
|
||||||
.hasMissingFields()
|
.hasMissingFields()
|
||||||
? trans(context, "Billing address is incomplete")
|
? trans(
|
||||||
|
context, "Billing address is incomplete")
|
||||||
: CheckoutSession.getInstance
|
: CheckoutSession.getInstance
|
||||||
.billingDetails.billingAddress
|
.billingDetails.billingAddress
|
||||||
.addressFull()),
|
.addressFull()),
|
||||||
|
|||||||
@ -193,13 +193,12 @@ class _HomePageState extends State<HomePage> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _onRefresh() async {
|
void _onRefresh() async {
|
||||||
|
_products = [];
|
||||||
|
_page = 1;
|
||||||
|
_shouldStopRequests = false;
|
||||||
|
waitForNextRequest = false;
|
||||||
await _fetchMoreProducts();
|
await _fetchMoreProducts();
|
||||||
setState(() {});
|
_refreshController.refreshCompleted();
|
||||||
if (_shouldStopRequests) {
|
|
||||||
_refreshController.resetNoData();
|
|
||||||
} else {
|
|
||||||
_refreshController.refreshCompleted();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void _onLoading() async {
|
void _onLoading() async {
|
||||||
|
|||||||
@ -550,7 +550,7 @@ packages:
|
|||||||
name: woosignal
|
name: woosignal
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.8"
|
version: "1.0.9"
|
||||||
woosignal_stripe:
|
woosignal_stripe:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
@ -564,7 +564,7 @@ packages:
|
|||||||
name: wp_json_api
|
name: wp_json_api
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.2"
|
version: "0.1.3"
|
||||||
xml:
|
xml:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# Label StoreMax
|
# Label StoreMax
|
||||||
# Version 2.0.7
|
# Version 2.0.8
|
||||||
#authors: - "Anthony Gordon"
|
#authors: - "Anthony Gordon"
|
||||||
#documentation: https://woosignal.com/docs/app/ios/label-storemax
|
#documentation: https://woosignal.com/docs/app/ios/label-storemax
|
||||||
#homepage: https://woosignal.com/
|
#homepage: https://woosignal.com/
|
||||||
@ -24,10 +24,10 @@ environment:
|
|||||||
sdk: ">=2.1.0 <3.0.0"
|
sdk: ">=2.1.0 <3.0.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
woosignal: ^1.0.8
|
woosignal: ^1.0.9
|
||||||
woosignal_stripe: ^0.0.4
|
woosignal_stripe: ^0.0.4
|
||||||
razorpay_flutter: ^1.2.1
|
razorpay_flutter: ^1.2.1
|
||||||
wp_json_api: ^0.1.2
|
wp_json_api: ^0.1.3
|
||||||
shared_preferences: ^0.5.7+3
|
shared_preferences: ^0.5.7+3
|
||||||
cached_network_image: ^2.2.0+1
|
cached_network_image: ^2.2.0+1
|
||||||
page_transition: ^1.1.5
|
page_transition: ^1.1.5
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user