///todo deleted
// import 'package:flutter/material.dart';
// import 'package:provider/provider.dart';
// import 'package:test_sa/controllers/providers/api/status_drop_down/report/service_report_maintenance_situation_provider.dart';
// import 'package:test_sa/models/lookup.dart';
// import 'package:test_sa/views/widgets/loaders/loading_manager.dart';
// import 'package:test_sa/views/widgets/status/single_status_menu.dart';
//
// class ServiceReportMaintenanceSituation extends StatelessWidget {
//   final Function(Lookup) onSelect;
//   final Lookup initialValue;
//   final String woId;
//
//   const ServiceReportMaintenanceSituation({
//     Key? key,
//     required this.onSelect,
//     required this.initialValue,
//     required this.woId,
//   }) : super(key: key);
//
//   @override
//   Widget build(BuildContext context) {
//     ServiceReportMaintenanceSituationProvider menuProvider = Provider.of<ServiceReportMaintenanceSituationProvider>(context);
//     return LoadingManager(
//       isLoading: menuProvider.isLoading,
//       isFailedLoading: menuProvider.operators == null,
//       stateCode: menuProvider.stateCode,
//       onRefresh: () async {
//         menuProvider.getOperators(woId);
//       },
//       child: SingleStatusMenu(
//         initialStatus: initialValue,
//         statuses: menuProvider.operators,
//         onSelect: onSelect,
//       ),
//     );
//   }
// }
