use const config

master
fuwa 5 years ago
parent c89f9fd6d7
commit 57cc908e6e

@ -22,7 +22,7 @@ along with CyberWOW. If not, see <https://www.gnu.org/licenses/>.
import 'config/prototype.dart';
import 'config/cyberwow.dart' as cryptoConfig;
final config = cryptoConfig.config;
const config = cryptoConfig.config;
const arch = 'arm64';
// const arch = 'x86_64';

@ -23,13 +23,13 @@ import 'package:flutter/material.dart';
import 'prototype.dart';
final config = CryptoConfig
const config = CryptoConfig
(
'wownerod',
'wownerod',
'Follow the white rabbit.',
70,
Colors.green.withOpacity(1.0),
Colors.green,
Colors.black,
['--prune-blockchain'],
);

@ -29,7 +29,7 @@ class CryptoConfig {
final Color textColor;
final Color backgroundColor;
final List<String> extraArgs;
CryptoConfig
const CryptoConfig
(
this.outputBin,
this.appPath,

Loading…
Cancel
Save