///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_visit_date_operator_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 ServiceReportVisitDateOperator extends StatelessWidget {
//   final Function(Lookup) onSelect;
//   final Lookup initialValue;
//
//   const ServiceReportVisitDateOperator({Key? key, required this.onSelect, required this.initialValue}) : super(key: key);
//
//   @override
//   Widget build(BuildContext context) {
//     ServiceReportVisitOperatorProvider menuProvider = Provider.of<ServiceReportVisitOperatorProvider>(context);
//     return LoadingManager(
//       isLoading: menuProvider.isLoading,
//       isFailedLoading: menuProvider.operators == null,
//       stateCode: menuProvider.stateCode,
//       onRefresh: () async {
//         menuProvider.getOperators();
//       },
//       child: SingleStatusMenu(
//         initialStatus: initialValue,
//         statuses: menuProvider.operators,
//         onSelect: onSelect,
//       ),
//     );
//   }
// }
