feat: lang

This commit is contained in:
efrilm
2025-08-20 13:52:49 +07:00
parent f07d07b3a8
commit 5a83bc4049
53 changed files with 3386 additions and 721 deletions
@@ -1,6 +1,7 @@
import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';
import '../../../../common/extension/extension.dart';
import '../../../../common/theme/theme.dart';
import '../../../router/app_router.gr.dart';
import 'divider.dart';
@@ -30,7 +31,7 @@ class ProfileSupport extends StatelessWidget {
Padding(
padding: EdgeInsets.all(16),
child: Text(
'Support',
context.lang.support,
style: AppStyle.xl.copyWith(
fontSize: 18,
fontWeight: FontWeight.bold,
@@ -41,8 +42,8 @@ class ProfileSupport extends StatelessWidget {
ProfileTile(
icon: Icons.help_outline,
title: 'Help Center',
subtitle: 'Get help and support',
title: context.lang.help_center,
subtitle: context.lang.help_center_desc,
onTap: () => context.router.push(ComingSoonRoute()),
),
@@ -60,8 +61,8 @@ class ProfileSupport extends StatelessWidget {
ProfileTile(
icon: Icons.info_outline,
title: 'About',
subtitle: 'App version and information',
title: context.lang.about,
subtitle: context.lang.about_desc,
onTap: () => context.router.push(AboutAppRoute()),
),
],