Files
checker/lib/resources.dart
vtretyakov 7064454507 Crypto iOS
2019-01-25 11:16:56 +07:00

31 lines
872 B
Dart

import 'package:flutter/material.dart';
class Resources {
static String getLogo(String app) => 'assets/${app}_logo.png';
static String getSplash(String app) {
return 'assets/${app}_splash.png';
}
static Color getPrimaryColor(String app) {
switch (app) {
case 'autobonus': return new Color(0xffeb0004);
case 'dinect': return new Color(0xff3daee3);
case 'crypto': return new Color(0xff0f3d87);
case 'biohacker': return new Color(0xff464646);
default: return new Color(0xffffffff);
}
}
static Color getButtonColor(String app) {
switch (app) {
case 'autobonus': return new Color(0xffeb0004);
case 'dinect': return new Color(0xff33cc99);
case 'crypto': return new Color(0xffffc34d);
case 'biohacker': return new Color(0xffff6134);
default: return new Color(0xffffffff);
}
}
}