From 81352c2b0e9cb6babc8b198b8c672b6ffa3568ba Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Thu, 17 Dec 2020 10:47:17 +0200 Subject: [PATCH] small fix. --- lib/config/config.dart | 3 +++ lib/widgets/patients/profile/SOAP/subjective_page.dart | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/config/config.dart b/lib/config/config.dart index a7165953..0ee1eb0d 100644 --- a/lib/config/config.dart +++ b/lib/config/config.dart @@ -1,3 +1,5 @@ +import 'package:flutter/material.dart'; + const MAX_SMALL_SCREEN = 660; const ONLY_NUMBERS = "[0-9]"; const ONLY_LETTERS = "[a-zA-Z &'\"]"; @@ -142,4 +144,5 @@ const TIMER_MIN = 10; class AppGlobal { static var CONTEX; + static Color appPrimaryColor =Color(0xFFB9382C); } diff --git a/lib/widgets/patients/profile/SOAP/subjective_page.dart b/lib/widgets/patients/profile/SOAP/subjective_page.dart index fb95fc78..fd6a6e50 100644 --- a/lib/widgets/patients/profile/SOAP/subjective_page.dart +++ b/lib/widgets/patients/profile/SOAP/subjective_page.dart @@ -1,3 +1,4 @@ +import 'package:doctor_app_flutter/config/config.dart'; import 'package:doctor_app_flutter/util/translations_delegate_base.dart'; import 'package:doctor_app_flutter/widgets/shared/Text.dart'; import 'package:doctor_app_flutter/widgets/shared/app_buttons_widget.dart'; @@ -32,7 +33,7 @@ class SubjectivePage extends StatelessWidget { variant: "bodyText", bold: true, color: Colors.black), - Icon(FontAwesomeIcons.asterisk, color: Color(0xFFB9382C), + Icon(FontAwesomeIcons.asterisk, color: AppGlobal.appPrimaryColor, size: 12, ) ],