File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import 'package:go_router/go_router.dart';
4
4
import 'package:ht_dashboard/authentication/bloc/authentication_bloc.dart' ;
5
5
import 'package:ht_dashboard/l10n/l10n.dart' ;
6
6
import 'package:ht_dashboard/router/routes.dart' ;
7
- import 'package:ht_dashboard/shared/constants/app_spacing.dart' ;
8
7
import 'package:ht_ui_kit/ht_ui_kit.dart' ;
9
8
10
9
/// {@template authentication_page}
@@ -19,7 +18,7 @@ class AuthenticationPage extends StatelessWidget {
19
18
20
19
@override
21
20
Widget build (BuildContext context) {
22
- final l10n = context.l10n;
21
+ final l10n = AppLocalizationsX ( context) .l10n;
23
22
final textTheme = Theme .of (context).textTheme;
24
23
final colorScheme = Theme .of (context).colorScheme;
25
24
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import 'package:ht_dashboard/app/bloc/app_bloc.dart';
5
5
import 'package:ht_dashboard/app/config/config.dart' ;
6
6
import 'package:ht_dashboard/authentication/bloc/authentication_bloc.dart' ;
7
7
import 'package:ht_dashboard/l10n/l10n.dart' ;
8
- import 'package:ht_dashboard/shared/constants/app_spacing.dart' ;
9
8
import 'package:ht_ui_kit/ht_ui_kit.dart' ;
10
9
11
10
/// {@template email_code_verification_page}
@@ -21,7 +20,7 @@ class EmailCodeVerificationPage extends StatelessWidget {
21
20
22
21
@override
23
22
Widget build (BuildContext context) {
24
- final l10n = context.l10n;
23
+ final l10n = AppLocalizationsX ( context) .l10n;
25
24
final textTheme = Theme .of (context).textTheme;
26
25
final colorScheme = Theme .of (context).colorScheme;
27
26
@@ -152,7 +151,7 @@ class _EmailCodeVerificationFormState
152
151
153
152
@override
154
153
Widget build (BuildContext context) {
155
- final l10n = context.l10n;
154
+ final l10n = AppLocalizationsX ( context) .l10n;
156
155
final textTheme = Theme .of (context).textTheme;
157
156
158
157
return Form (
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import 'package:ht_dashboard/app/config/config.dart';
9
9
import 'package:ht_dashboard/authentication/bloc/authentication_bloc.dart' ;
10
10
import 'package:ht_dashboard/l10n/l10n.dart' ;
11
11
import 'package:ht_dashboard/router/routes.dart' ;
12
- import 'package:ht_dashboard/shared/constants/app_spacing.dart' ;
13
12
import 'package:ht_ui_kit/ht_ui_kit.dart' ;
14
13
15
14
/// {@template request_code_page}
@@ -40,7 +39,7 @@ class _RequestCodeView extends StatelessWidget {
40
39
41
40
@override
42
41
Widget build (BuildContext context) {
43
- final l10n = context.l10n;
42
+ final l10n = AppLocalizationsX ( context) .l10n;
44
43
final colorScheme = Theme .of (context).colorScheme;
45
44
final textTheme = Theme .of (context).textTheme;
46
45
@@ -203,7 +202,7 @@ class _EmailLinkFormState extends State<_EmailLinkForm> {
203
202
204
203
@override
205
204
Widget build (BuildContext context) {
206
- final l10n = context.l10n;
205
+ final l10n = AppLocalizationsX ( context) .l10n;
207
206
final textTheme = Theme .of (context).textTheme;
208
207
final colorScheme = Theme .of (context).colorScheme;
209
208
You can’t perform that action at this time.
0 commit comments