dark mode implementation

design_3.0_dark_mode
WaseemAbbasi22 3 months ago
parent 6d39b20e0b
commit 4ce0504ab7

@ -3,14 +3,14 @@ class URLs {
static const String appReleaseBuildNumber = "21"; static const String appReleaseBuildNumber = "21";
// static const host1 = "https://atomsm.hmg.com"; // production url static const host1 = "https://atomsm.hmg.com"; // production url
// static const host1 = "https://atomsmdev.hmg.com"; // local DEV url // static const host1 = "https://atomsmdev.hmg.com"; // local DEV url
static const host1 = "https://atomsmuat.hmg.com"; // local UAT url // static const host1 = "https://atomsmuat.hmg.com"; // local UAT url
// static String _baseUrl = "$_host/mobile"; // static String _baseUrl = "$_host/mobile";
// static final String _baseUrl = "$_host/v2/mobile"; // new V2 apis // static final String _baseUrl = "$_host/v2/mobile"; // new V2 apis
static final String _baseUrl = "$_host/mobile"; // host local UAT // static final String _baseUrl = "$_host/mobile"; // host local UAT
// static final String _baseUrl = "$_host/v3/mobile"; // v3 for new CM,PM,TM static final String _baseUrl = "$_host/v3/mobile"; // v3 for new CM,PM,TM
static String _host = host1; static String _host = host1;

@ -80,7 +80,7 @@ class _VerifyArrivalViewState extends State<VerifyArrivalView> {
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(14), // Circular border radius borderRadius: BorderRadius.circular(14), // Circular border radius
), ),
color: Colors.white, color: AppColor.background(context),
child: Row( child: Row(
crossAxisAlignment: CrossAxisAlignment.center, // Align items at the top crossAxisAlignment: CrossAxisAlignment.center, // Align items at the top
children: [ children: [
@ -93,7 +93,7 @@ class _VerifyArrivalViewState extends State<VerifyArrivalView> {
children: [ children: [
Text( Text(
heading, heading,
style: AppTextStyles.heading6.copyWith(color: AppColor.neutral50), style: AppTextStyles.heading6.copyWith(color: AppColor.textColor(context)),
), ),
6.height, 6.height,
Text( Text(

@ -330,7 +330,7 @@ class _VerifyAssetDetailsState extends State<VerifyAssetDetails> with TickerProv
], ],
Container( Container(
padding: EdgeInsets.symmetric(horizontal: 16.toScreenWidth, vertical: 16.toScreenHeight), padding: EdgeInsets.symmetric(horizontal: 16.toScreenWidth, vertical: 16.toScreenHeight),
color: AppColor.white10, color: AppColor.background(context),
child: AppFilledButton( child: AppFilledButton(
label: context.translation.updateAssetDetails, label: context.translation.updateAssetDetails,
buttonColor: AppColor.primary10, buttonColor: AppColor.primary10,

Loading…
Cancel
Save