|
|
|
@ -49,7 +49,6 @@ class _FinalProductsPageState extends State<FinalProductsPage> {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return BaseView<PharmacyCategoriseViewModel>(
|
|
|
|
|
onModelReady: (model) {
|
|
|
|
|
|
|
|
|
|
//TODO Elham* fix all services in order handel errors in better way in the service
|
|
|
|
|
if (widget.productType == 1) {
|
|
|
|
|
model.getFinalProducts(i: id);
|
|
|
|
@ -78,7 +77,7 @@ class _FinalProductsPageState extends State<FinalProductsPage> {
|
|
|
|
|
isBottomBar: false,
|
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
backgroundColor: Colors.white,
|
|
|
|
|
isShowDecPage: true,
|
|
|
|
|
isShowDecPage: false,
|
|
|
|
|
baseViewModel: model,
|
|
|
|
|
body: Container(
|
|
|
|
|
height: MediaQuery.of(context).size.height * 5.87,
|
|
|
|
|