|
|
|
|
@ -5,6 +5,7 @@ import 'package:diplomaticquarterapp/config/size_config.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/pages/landing/landing_page.dart';
|
|
|
|
|
@ -215,6 +216,8 @@ class AppBarWidgetState extends State<AppBarWidget> {
|
|
|
|
|
|
|
|
|
|
Widget buildAppBar(BuildContext context) {
|
|
|
|
|
ProjectViewModel projectViewModel = Provider.of(context);
|
|
|
|
|
OrderPreviewViewModel orderPreviewViewModel = Provider.of(context);
|
|
|
|
|
|
|
|
|
|
return AppBar(
|
|
|
|
|
elevation: 0,
|
|
|
|
|
backgroundColor: widget.isPharmacy
|
|
|
|
|
@ -260,7 +263,7 @@ class AppBarWidgetState extends State<AppBarWidget> {
|
|
|
|
|
icon: Badge(
|
|
|
|
|
position: BadgePosition.topStart(top: -15, start: -10),
|
|
|
|
|
badgeContent: Text(
|
|
|
|
|
_badgeText,
|
|
|
|
|
orderPreviewViewModel.cartResponse.quantityCount.toString() /*_badgeText*/,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 9,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
|