Сделал возможность переключаться между приложениями и добавлять новые приложения практически не меняя код
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
// Serious constants
|
||||
const String appName = "Dinect";
|
||||
const String appName = "AutoBonus";
|
||||
|
||||
const String url = 'https://pos-api-int.dinect.com/20130701/';
|
||||
const String appToken = '9fec83cdca38c357e6b65dbb17514cdd36bf2a08';
|
||||
|
||||
// Assets
|
||||
const String logo_png = 'assets/pip_logo.png';
|
||||
const String splash_png = 'assets/splash.png';
|
||||
const String logout_png = 'assets/logout.png';
|
||||
const String activate_token_bg_png = 'assets/activate_token_message_background.png';
|
||||
const String active_token_bg_png = 'assets/active_token_message_background.png';
|
||||
@@ -17,12 +15,6 @@ const String powered_by_dinect_splash_png = 'assets/powered_by_dinect_splash.png
|
||||
const String powered_by_dinect_png = 'assets/powered_by_dinect.png';
|
||||
const String splash_text_png = 'assets/splash_text.png';
|
||||
|
||||
// Colors
|
||||
//const Color primaryColor = const Color(0xffeb0004);
|
||||
//const Color buttonColor = const Color(0xffeb0004);
|
||||
|
||||
const Color primaryColor = const Color(0xff008794);
|
||||
const Color buttonColor = const Color(0xfff49935);
|
||||
const Color greyTextColor = const Color(0xffa5a5a5);
|
||||
const Color textBorderColor = const Color(0xffcfd8dc);
|
||||
const Color tokenActiveTextColor = const Color(0xff1f5a1f);
|
||||
@@ -31,6 +23,7 @@ const Color greenBackground = const Color(0xff8ae28a);
|
||||
const Color faqGrey = const Color(0xff5b5b5b);
|
||||
const Color faqTitlesColor = const Color(0xff404040);
|
||||
const Color inputFieldBackground = const Color(0xffefefef);
|
||||
|
||||
// Dimens
|
||||
const double verticalMargin = 28.0;
|
||||
const double buttonHeight = 48.0;
|
||||
|
||||
Reference in New Issue
Block a user