|
|
|
|
@ -377,7 +377,7 @@ class _SparePartRequestState extends State<SparePartRequest> {
|
|
|
|
|
|
|
|
|
|
if (mounted) Navigator.pop(context); // Close form
|
|
|
|
|
|
|
|
|
|
if (model?.id == 0&&widget.fromCm) {
|
|
|
|
|
if (model?.id == 0 && widget.fromCm) {
|
|
|
|
|
ServiceRequestBottomSheet.addAnotherSpareRequestBottomSheet(context: context, fromCm: widget.fromCm);
|
|
|
|
|
const SizedBox().flushBar(
|
|
|
|
|
context: context,
|
|
|
|
|
@ -403,6 +403,7 @@ class PartDetailBottomSheetSheet extends StatelessWidget {
|
|
|
|
|
return SizedBox(
|
|
|
|
|
height: SizeConfig.screenHeight! / 2.2,
|
|
|
|
|
width: SizeConfig.screenWidth,
|
|
|
|
|
child: SafeArea(
|
|
|
|
|
child: Column(
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
@ -420,7 +421,7 @@ class PartDetailBottomSheetSheet extends StatelessWidget {
|
|
|
|
|
: provider.storeAvailability.isEmpty
|
|
|
|
|
? const NoDataFound().center
|
|
|
|
|
: ListView.separated(
|
|
|
|
|
padding: const EdgeInsets.only(top: 12),
|
|
|
|
|
padding: const EdgeInsets.only(top: 12,bottom: 12),
|
|
|
|
|
itemCount: provider.storeAvailability.length,
|
|
|
|
|
separatorBuilder: (czt, index) => 12.height,
|
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
|
@ -433,6 +434,7 @@ class PartDetailBottomSheetSheet extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|