ZontreckWebsite/lib/Constants.dart
2025-04-01 03:11:52 -07:00

28 lines
966 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 PORTFOLIO_CARD_COLOR = Color.fromARGB(255, 0, 71, 97);
static const VERSION = "Version 1.0.040125+0311";
static const COPYRIGHT =
"Copyright 2024-2025 - Piccari Creations. All Rights Reserved";
static const CLIENTPSK =
"f5c6caf3efe1ec5aa4b7c572f92aa14782b7be34b4c7844fa9c6d47fdf94246";
static const DEBUG = true;
static const SERVICES_JSON =
"https://raw.githubusercontent.com/AriasCreations/AriasCreations/main/services.json";
static const ALLOW_ANY_LAST_NAME = false;
static Future<Map<String, dynamic>> pullServicesJson() async {
Settings settings = Settings();
var reply = await settings.dio.get(SERVICES_JSON);
return json.decode(reply.data);
}
}