BASE: Switch From EasyLocalization To GetX Localization.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import 'package:customer/constant/const_texts.dart';
|
||||
import 'package:easy_localization/easy_localization.dart';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart' hide Trans;
|
||||
import 'package:get/get.dart';
|
||||
import '../../controllers/complain_controller.dart';
|
||||
import '../../controllers/theme_controller.dart';
|
||||
import '../../themes/app_them_data.dart';
|
||||
@@ -50,7 +50,7 @@ class ComplainScreen extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
Text(
|
||||
ConstTexts.complain.tr(),
|
||||
ConstTexts.complain.tr,
|
||||
style: AppThemeData.boldTextStyle(
|
||||
fontSize: 18,
|
||||
color: AppThemeData.grey900,
|
||||
@@ -69,16 +69,16 @@ class ComplainScreen extends StatelessWidget {
|
||||
children: [
|
||||
Obx(
|
||||
() => TextFieldWidget(
|
||||
title: ConstTexts.title.tr(),
|
||||
hintText: ConstTexts.title.tr(),
|
||||
title: ConstTexts.title.tr,
|
||||
hintText: ConstTexts.title.tr,
|
||||
controller: controller.title.value,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
Obx(
|
||||
() => TextFieldWidget(
|
||||
title: ConstTexts.complain.tr(),
|
||||
hintText: ConstTexts.typeDescription.tr(),
|
||||
title: ConstTexts.complain.tr,
|
||||
hintText: ConstTexts.typeDescription.tr,
|
||||
controller: controller.comment.value,
|
||||
maxLine: 8,
|
||||
),
|
||||
@@ -86,7 +86,7 @@ class ComplainScreen extends StatelessWidget {
|
||||
const SizedBox(height: 20),
|
||||
RoundedButtonFill(
|
||||
borderRadius: 10.r,
|
||||
title: ConstTexts.save.tr(),
|
||||
title: ConstTexts.save.tr,
|
||||
color: AppThemeData.primary300,
|
||||
textColor: AppThemeData.grey50,
|
||||
onPress: () => controller.submitComplain(),
|
||||
|
||||
Reference in New Issue
Block a user