dark and light mode changes
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 680 KiB |
|
Before Width: | Height: | Size: 292 KiB |
|
Before Width: | Height: | Size: 177 KiB |
|
Before Width: | Height: | Size: 157 KiB |
|
Before Width: | Height: | Size: 312 KiB |
|
Before Width: | Height: | Size: 373 KiB |
|
Before Width: | Height: | Size: 565 KiB |
|
Before Width: | Height: | Size: 295 KiB |
|
Before Width: | Height: | Size: 355 KiB |
|
Before Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 2.6 MiB |
|
Before Width: | Height: | Size: 328 KiB |
|
Before Width: | Height: | Size: 178 KiB |
|
Before Width: | Height: | Size: 338 KiB |
|
Before Width: | Height: | Size: 300 KiB |
|
Before Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 186 KiB |
|
Before Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 201 KiB |
|
Before Width: | Height: | Size: 363 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 136 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 15 KiB |
@ -2,3 +2,4 @@
|
|||||||
// const String apiUrl = 'http://127.0.0.1:8090';
|
// const String apiUrl = 'http://127.0.0.1:8090';
|
||||||
// const String apiUrl = 'https://pbdev.venbait.in/';
|
// const String apiUrl = 'https://pbdev.venbait.in/';
|
||||||
const String apiUrl = 'https://pb.venbait.in/';
|
const String apiUrl = 'https://pb.venbait.in/';
|
||||||
|
// const String apiUrl = 'https://pocket.fcsc.gov.ae/';
|
||||||
|
|||||||
@ -13,7 +13,6 @@ class ChartData {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class ApiService {
|
class ApiService {
|
||||||
// static const String baseUrl = 'https://pb.venbait.in/api/getDataSet';
|
|
||||||
static const String baseUrl = '$apiUrl/api/getDataSet';
|
static const String baseUrl = '$apiUrl/api/getDataSet';
|
||||||
|
|
||||||
Future<Map<String, dynamic>> fetchChartData(String dataSets, locale, kpi,
|
Future<Map<String, dynamic>> fetchChartData(String dataSets, locale, kpi,
|
||||||
|
|||||||
@ -427,7 +427,6 @@ class LoginRoute extends HookConsumerWidget {
|
|||||||
Future<void> loginCountApi(String userId) async {
|
Future<void> loginCountApi(String userId) async {
|
||||||
if (userId.isNotEmpty) {
|
if (userId.isNotEmpty) {
|
||||||
final url =
|
final url =
|
||||||
// Uri.parse("https://pb.venbait.in/api/login_success?id=$userId");
|
|
||||||
Uri.parse('$apiUrl/api/login_success?id=$userId');
|
Uri.parse('$apiUrl/api/login_success?id=$userId');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@ -1167,7 +1167,6 @@ class EconomyStatsState extends ConsumerState<EconomyStatsWidget> {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
Future<void> fetchData(locale,themeMode) async {
|
Future<void> fetchData(locale,themeMode) async {
|
||||||
// const baseUrl = 'https://pb.venbait.in/api/getHomePageData';
|
|
||||||
const baseUrl = '$apiUrl/api/getHomePageData';
|
const baseUrl = '$apiUrl/api/getHomePageData';
|
||||||
try {
|
try {
|
||||||
final response = await http.get(Uri.parse(baseUrl + '?language=$locale&color_mode=$themeMode'));
|
final response = await http.get(Uri.parse(baseUrl + '?language=$locale&color_mode=$themeMode'));
|
||||||
|
|||||||
@ -652,7 +652,6 @@ class LoginRoute extends HookConsumerWidget {
|
|||||||
final userId = session.id;
|
final userId = session.id;
|
||||||
if (userId.isNotEmpty) {
|
if (userId.isNotEmpty) {
|
||||||
final url =
|
final url =
|
||||||
// Uri.parse("https://pb.venbait.in/api/login_success?id=$userId");
|
|
||||||
Uri.parse('$apiUrl/api/login_success?id=$userId');
|
Uri.parse('$apiUrl/api/login_success?id=$userId');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||