Skip to content
Snippets Groups Projects
Select Git revision
  • 45e3c49da4ffab0a80198545825588da374f5c0f
  • master default protected
  • 305-re-enable-sanity-tests
  • 270-parametrage-de-la-gtest
  • network/gdev-800 protected
  • cgeek/issue-297-cpu
  • gdev-800-tests
  • update-docker-compose-rpc-squid-names
  • fix-252
  • 1000i100-test
  • hugo/tmp-0.9.1
  • network/gdev-803 protected
  • hugo/endpoint-gossip
  • network/gdev-802 protected
  • hugo/distance-precompute
  • network/gdev-900 protected
  • tuxmain/anonymous-tx
  • debug/podman
  • hugo/195-doc
  • hugo/195-graphql-schema
  • hugo-tmp-dockerfile-cache
  • gdev-900-0.10.1 protected
  • gdev-900-0.10.0 protected
  • gdev-900-0.9.2 protected
  • gdev-800-0.8.0 protected
  • gdev-900-0.9.1 protected
  • gdev-900-0.9.0 protected
  • gdev-803 protected
  • gdev-802 protected
  • runtime-801 protected
  • gdev-800 protected
  • runtime-800-bis protected
  • runtime-800 protected
  • runtime-800-backup protected
  • runtime-701 protected
  • runtime-700 protected
  • runtime-600 protected
  • runtime-500 protected
  • v0.4.1 protected
  • runtime-401 protected
  • v0.4.0 protected
41 results

git-conventions.md

Blame
  • globals.dart 1.25 KiB
    import 'dart:io';
    import 'package:flutter/material.dart';
    import 'package:gecko/models/chest_data.dart';
    import 'package:gecko/models/g1_wallets_list.dart';
    import 'package:gecko/models/wallet_data.dart';
    import 'package:hive_flutter/hive_flutter.dart';
    import 'package:logger/logger.dart';
    
    // Version of box data
    const int dataVersion = 4;
    
    late String appVersion;
    const int pinLength = 5;
    const String appLang = 'english';
    
    late Box<WalletData> walletBox;
    late Box<ChestData> chestBox;
    late Box configBox;
    late Box<G1WalletsList> g1WalletsBox;
    late Box<G1WalletsList> contactsBox;
    // late Box keystoreBox;
    late Directory imageDirectory;
    
    // String cesiumPod = "https://g1.data.le-sou.org";
    String cesiumPod = "https://g1.data.presles.fr";
    // String cesiumPod = "https://g1.data.e-is.pro";
    
    // Responsive ratios
    late bool isTall;
    late double ratio;
    
    // Contexts
    late BuildContext homeContext;
    
    // Logger
    final log = Logger();
    
    // Colors
    const Color orangeC = Color(0xffd07316);
    const Color yellowC = Color(0xffFFD68E);
    const Color floattingYellow = Color(0xffEFEFBF);
    const Color backgroundColor = Color(0xFFF5F5F5);
    
    // Substrate settings
    const String currencyName = 'ĞD';
    
    // Debug
    const debugPin = true;
    
    String indexerEndpoint = '';
    late double balanceRatio;
    late int udValue;