22 lines
729 B
Dart
22 lines
729 B
Dart
import 'dart:convert';
|
|
|
|
import 'package:flutter/material.dart';
|
|
import 'package:zontreck/Settings.dart';
|
|
|
|
class Constants {
|
|
static const TITLEBAR_COLOR = Color.fromARGB(255, 97, 0, 0);
|
|
static const DRAWER_COLOR = Color.fromARGB(148, 0, 97, 97);
|
|
|
|
static const VERSION = "1.0.051524.1554";
|
|
static const COPYRIGHT = "Copyright 2024 - Tara Piccari. All rights Reserved";
|
|
static const CLIENTPSK = "";
|
|
|
|
static const SERVICES_JSON =
|
|
"https://raw.githubusercontent.com/AriasCreations/AriasCreations/main/services.json";
|
|
|
|
static Future<Map<String, dynamic>> pullServicesJson() async {
|
|
Settings settings = Settings();
|
|
var reply = await settings.dio.get(SERVICES_JSON);
|
|
return json.decode(reply.data);
|
|
}
|
|
}
|