3 changed files with 104 additions and 43 deletions
@ -1,3 +1,26 @@ |
|||
import 'package:get/get.dart'; |
|||
|
|||
class MeetingMineController extends GetxController {} |
|||
import 'meeting_home_controller.dart'; |
|||
|
|||
class MeetingMineController extends GetxController { |
|||
final _controller = Get.find<MeetingHomeController>(); |
|||
|
|||
RxInt days = 0.obs; |
|||
RxInt numberFiles = 0.obs; |
|||
RxDouble hourage = 0.0.obs; |
|||
RxInt continuousDays = 0.obs; |
|||
RxInt maxNumberFiles = 0.obs; |
|||
RxDouble maxHourage = 0.0.obs; |
|||
|
|||
@override |
|||
void onInit() { |
|||
super.onInit(); |
|||
_getStatistics(); |
|||
} |
|||
|
|||
void _getStatistics() { |
|||
numberFiles.value = _controller.originalDataList.length; |
|||
|
|||
for (var element in _controller.originalDataList) {} |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue