adding i18n base project

This commit is contained in:
Azmat-7860
2026-10-02 22:52:46 +05:30
parent 2527b957aa
commit 47656678e1
11 changed files with 453 additions and 41 deletions
@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import '../../l10n/app_localizations.dart';
import 'sign_up_steps.dart';
class SignUpScreen extends StatefulWidget {
@@ -35,13 +36,13 @@ class _SignUpScreenState extends State<SignUpScreen> {
SizedBox(
width: double.infinity,
height: 16,
child: Center(
child: InkWell(
child: const Text(
'Already have an account? Sign in',
style:
TextStyle(fontSize: 14, color: Color(0xFF929BAB)),
),
child: Center(
child: InkWell(
child: Text(
AppLocalizations.of(context)!.alreadyHaveAccount,
style: TextStyle(
fontSize: 14, color: Color(0xFF929BAB)),
),
onTap: () {
Navigator.pop(context);
},