phase3: shop.dart NotificationListener return bool
This commit is contained in:
@@ -1324,13 +1324,13 @@ class ShopState extends State<Shop>
|
||||
onNotification: (ScrollUpdateNotification notification) {
|
||||
if (!displayProductByCategoryClick) {
|
||||
if (_categoryIndexChange) {
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
int index = _getCategoryIndexByRightScrollHeight(
|
||||
notification.metrics.pixels);
|
||||
_setCategoryByProductScrolledIndex(index);
|
||||
}
|
||||
return;
|
||||
return false;
|
||||
},
|
||||
child: new ListView.builder(
|
||||
physics: ClampingScrollPhysics(),
|
||||
|
||||
Reference in New Issue
Block a user