///todo deleted
// import 'package:flutter/material.dart';
// import 'package:provider/provider.dart';
// import 'package:test_sa/controllers/providers/api/status_drop_down/asset_transfer_status_provider.dart';
// import 'package:test_sa/controllers/providers/api/user_provider.dart';
// import 'package:test_sa/controllers/providers/settings/setting_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 AssetStatusMenu extends StatelessWidget {
//   final Function(Lookup) onSelect;
//   final Lookup initialValue;
//   final bool enabled;
//
//   const AssetStatusMenu({Key? key, this.enabled = true, this.onSelect, this.initialValue}) : super(key: key);
//
//   @override
//   Widget build(BuildContext context) {
//     final settingProvider = Provider.of<SettingProvider>(context);
//     final userProvider = Provider.of<UserProvider>(context);
//     final assetProvider = Provider.of<AssetTransferStatusProvider>(context);
//     return LoadingManager(
//         isLoading: assetProvider.isLoading,
//         isFailedLoading: assetProvider.items == null,
//         stateCode: assetProvider.stateCode,
//         onRefresh: () async {
//           assetProvider.reset();
//           await assetProvider.getData(user: userProvider.user, host: settingProvider.host);
//         },
//         child: SingleStatusMenu(
//           initialStatus: initialValue,
//           statuses: assetProvider.items,
//           onSelect: onSelect,
//           enabled: enabled,
//         ));
//   }
// }
