passo_mobile_app/lib/utils/global.dart

29 lines
782 B
Dart
Raw Normal View History

2023-04-05 00:54:24 +00:00
import 'package:hive/hive.dart';
2023-10-06 04:43:37 +00:00
import 'package:unit2/model/offline/offline_profile.dart';
2023-04-05 00:54:24 +00:00
2023-09-22 08:07:13 +00:00
import '../model/profile/basic_information/primary-information.dart';
2022-11-28 08:03:13 +00:00
double screenWidth = 0;
double screenHeight = 0;
double blockSizeHorizontal = 0;
double blockSizeVertical = 0;
double safeAreaHorizontal = 0;
double safeAreaVertical = 0;
double safeBlockHorizontal = 0;
2023-04-05 00:54:24 +00:00
double safeBlockVertical = 0;
const xClientKey = "unitK3CQaXiWlPReDsBzmmwBZPd9Re1z";
const xClientSecret = "unitcYqAN7GGalyz";
2023-10-06 04:43:37 +00:00
String? globalFistname;
String? globalLastname;
String? globalMiddleName;
DateTime? globalBday;
String? globalSex;
2023-09-22 08:07:13 +00:00
Profile? globalCurrentProfile;
2023-10-06 04:43:37 +00:00
///offline data
bool? globalOfflineAvailable;
OfflineProfile? globalOfflineProfile;
2023-04-05 00:54:24 +00:00
//// hive boxes
Box? CREDENTIALS;
2023-10-06 04:43:37 +00:00
Box? SOS;
Box? OFFLINE;