BASE: Initialize Localization.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:customer/screen_ui/parcel_service/parcel_dashboard_screen.dart';
|
||||
import 'package:easy_localization/easy_localization.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:customer/themes/app_them_data.dart';
|
||||
@@ -28,7 +29,7 @@ class OrderSuccessfullyPlaced extends StatelessWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 25),
|
||||
child: Text(
|
||||
"Your Order Has Been Placed!".tr,
|
||||
"Your Order Has Been Placed!".tr(),
|
||||
style: AppThemeData.boldTextStyle(fontSize: 22, color: isDark ? AppThemeData.greyDark900 : AppThemeData.grey900),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
@@ -37,14 +38,14 @@ class OrderSuccessfullyPlaced extends StatelessWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 50),
|
||||
child: Text(
|
||||
"We’ve received your parcel booking and it’s now being processed. You can track its status in real time.".tr,
|
||||
"We’ve received your parcel booking and it’s now being processed. You can track its status in real time.".tr(),
|
||||
style: AppThemeData.mediumTextStyle(fontSize: 16, color: isDark ? AppThemeData.greyDark600 : AppThemeData.grey600),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 30),
|
||||
RoundedButtonFill(
|
||||
title: "Track Your Order".tr,
|
||||
title: "Track Your Order".tr(),
|
||||
onPress: () {
|
||||
print("Tracking Order: $parcelOrder");
|
||||
//Get.to(() => TrackOrderScreen(), arguments: {'order': parcelOrder});
|
||||
|
||||
Reference in New Issue
Block a user