repair add makanan page, addes socket io client for real time update data, added table status change page
This commit is contained in:
@ -1,9 +1,16 @@
|
||||
import 'package:reza_admin/app/app.locator.dart';
|
||||
|
||||
import '../../../app/app.router.dart';
|
||||
|
||||
import '../../../app/core/custom_base_view_model.dart';
|
||||
import '../../../services/my_socket_io_client.dart';
|
||||
// import '../../../services/my_socket_io_client.dart';
|
||||
|
||||
class SplashScreenViewModel extends CustomBaseViewModel {
|
||||
final socketIoClient = locator<MySocketIoClient>();
|
||||
Future<void> init() async {
|
||||
// MySocketIoClient().init();
|
||||
socketIoClient.init();
|
||||
await Future.delayed(const Duration(seconds: 2));
|
||||
await navigationService.navigateToLoginUserView();
|
||||
}
|
||||
|
Reference in New Issue
Block a user