new change to use intaleq_map sdk 04-16-4
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class DashboardController extends GetxController {
|
||||
final now = DateTime.now().obs;
|
||||
@override
|
||||
void onReady() {
|
||||
super.onReady();
|
||||
Timer.periodic(
|
||||
Duration(seconds: 1),
|
||||
(timer) {
|
||||
now.value = DateTime.now();
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user