feat : live stock module
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:rasadyar_core/core.dart';
|
||||
|
||||
|
||||
class ActionLogic extends GetxController with GetTickerProviderStateMixin {
|
||||
late Rx<SlidableController> slidController;
|
||||
bool showSlideHint = true;
|
||||
@@ -15,11 +15,11 @@ class ActionLogic extends GetxController with GetTickerProviderStateMixin {
|
||||
'خروج از سامانه',
|
||||
];
|
||||
|
||||
List<String> headersIcons = [
|
||||
Assets.vecProfileUserSvg,
|
||||
Assets.vecCalendarSearchSvg,
|
||||
Assets.vecDiagramSvg,
|
||||
Assets.vecLogoutSvg,
|
||||
List<Widget> headersIcons = [
|
||||
Assets.vec.profileUserSvg.svg(),
|
||||
Assets.vec.calendarSearchSvg.svg(),
|
||||
Assets.vec.diagramSvg.svg(),
|
||||
Assets.vec.logoutSvg.svg(),
|
||||
];
|
||||
|
||||
RxList<bool> supervisionHistoryList = [false, false, false, false].obs;
|
||||
@@ -46,7 +46,6 @@ class ActionLogic extends GetxController with GetTickerProviderStateMixin {
|
||||
void onInit() {
|
||||
super.onInit();
|
||||
slidController = SlidableController(this).obs;
|
||||
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -69,9 +68,8 @@ class ActionLogic extends GetxController with GetTickerProviderStateMixin {
|
||||
showSlideHint = !showSlideHint;
|
||||
}
|
||||
|
||||
|
||||
void updateSelectedIndex(int index) {
|
||||
if(index == selectedIndex.value) {
|
||||
if (index == selectedIndex.value) {
|
||||
return;
|
||||
}
|
||||
previousIndex.value = selectedIndex.value;
|
||||
|
||||
Reference in New Issue
Block a user