|
|
|
@ -15,6 +15,7 @@ class ReviewsInfo extends StatelessWidget {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return BaseView<ProductDetailViewModel>(
|
|
|
|
return BaseView<ProductDetailViewModel>(
|
|
|
|
onModelReady: (model) => model.getProductReviewsData(product.id),
|
|
|
|
onModelReady: (model) => model.getProductReviewsData(product.id),
|
|
|
|
|
|
|
|
allowAny: true,
|
|
|
|
builder: (_, model, wi) => NetworkBaseView(
|
|
|
|
builder: (_, model, wi) => NetworkBaseView(
|
|
|
|
baseViewModel:model ,
|
|
|
|
baseViewModel:model ,
|
|
|
|
child: model.productDetailService.length != 0 &&
|
|
|
|
child: model.productDetailService.length != 0 &&
|
|
|
|
|