color of the images changed

master
mobileteam 2 months ago
parent 194c7b2b9c
commit d7488c7d00

@ -9,6 +9,8 @@ import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import '../../../theme/colors.dart';
class LoggedSliderView extends StatelessWidget {
ProjectViewModel projectViewModel;
SliderData sliderData;
@ -59,7 +61,7 @@ class LoggedSliderView extends StatelessWidget {
Row(
children: [
Container(
decoration: projectViewModel.isArabic ? containerColorRadiusLeft(Color(0xFFFBF2E31), 100) : containerColorRadiusRight(Color(0xFFFBF2E31), 100),
decoration: projectViewModel.isArabic ? containerColorRadiusLeft(CustomColors.accentColor, 100) : containerColorRadiusRight(CustomColors.accentColor, 100),
padding: EdgeInsets.only(left: 20, right: 16, top: 6, bottom: 6),
child: Text(
TranslationBase.of(context).medicalFile,

@ -21,7 +21,7 @@ class OfferView extends StatelessWidget {
Text(
"Kid's Offer",
style: TextStyle(
color: Color(0xFFFBF2E31),
color: Color(0xFF14384B),
fontSize: 18,
fontWeight: FontWeight.bold,
),
@ -40,14 +40,14 @@ class OfferView extends StatelessWidget {
Text(
"Only ",
style: TextStyle(
color: Color(0xFFFBF2E31),
color: Color(0xFF14384B),
fontSize: 14,
),
),
Text(
"500 ",
style: TextStyle(
color: Color(0xFFFBF2E31),
color: Color(0xFF14384B),
fontSize: 14,
fontWeight: FontWeight.bold,
),
@ -55,7 +55,7 @@ class OfferView extends StatelessWidget {
Text(
"SAR ",
style: TextStyle(
color: Color(0xFFFBF2E31),
color: Color(0xFF14384B),
fontSize: 14,
),
),

@ -304,7 +304,7 @@ class _TimeLineViewState extends State<TimeLineView> {
child: CustomTextButton(
shape: cardRadiusNew(8),
elevation: 0,
backgroundColor: Color(0xFFFBF2E31),
backgroundColor: Color(0xFF14384B),
onPressed: () {
// onLoginClick();
login();

@ -11,7 +11,8 @@ class WeatherSlider extends StatelessWidget {
WeatherSlider(this.data, this.projectViewModel);
LinearGradient red = LinearGradient(colors: [const Color(0xFF14384B), const Color(0xFF14384B)]);
LinearGradient red = LinearGradient(colors: [Colors.redAccent[100]!, Colors.redAccent]);
LinearGradient green = LinearGradient(colors: [Colors.greenAccent[100]!, Colors.greenAccent]);
LinearGradient grey = LinearGradient(colors: [Colors.grey[100]!, Colors.grey]);
LinearGradient orange = LinearGradient(colors: [Colors.orangeAccent[100]!, Colors.orange]);
LinearGradient yellow = LinearGradient(colors: [Colors.yellow[100]!, Colors.yellow[600]!]);
@ -68,7 +69,7 @@ class WeatherSlider extends StatelessWidget {
: data.colorName == 'orange'
? Colors.orangeAccent
: data.colorName == 'green'
? Colors.greenAccent
? Colors.greenAccent
: data.colorName == 'yellow'
? Colors.yellowAccent
: Colors.grey,

Loading…
Cancel
Save