BASE: Initialize Localization.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:customer/constant/assets.dart';
|
||||
import 'package:customer/themes/round_button_fill.dart';
|
||||
import 'package:easy_localization/easy_localization.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import '../../controllers/on_boarding_controller.dart';
|
||||
@@ -65,7 +66,7 @@ class OnboardingScreen extends StatelessWidget {
|
||||
const SizedBox(height: 20),
|
||||
controller.currentPage.value == pageCount - 1
|
||||
? RoundedButtonFill(
|
||||
title: "Let’s Get Started".tr,
|
||||
title: "Let’s Get Started".tr(),
|
||||
onPress: () {
|
||||
_finish();
|
||||
},
|
||||
@@ -73,11 +74,11 @@ class OnboardingScreen extends StatelessWidget {
|
||||
)
|
||||
: Row(
|
||||
children: [
|
||||
Expanded(child: RoundedButtonFill(title: "Skip".tr, onPress: () => _finish(), color: AppThemeData.grey50, textColor: AppThemeData.grey900)),
|
||||
Expanded(child: RoundedButtonFill(title: "Skip".tr(), onPress: () => _finish(), color: AppThemeData.grey50, textColor: AppThemeData.grey900)),
|
||||
const SizedBox(width: 20),
|
||||
Expanded(
|
||||
child: RoundedButtonFill(
|
||||
title: "Next".tr,
|
||||
title: "Next".tr(),
|
||||
onPress: () {
|
||||
controller.nextPage();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user