Skip to content

Commit cb2b537

Browse files
author
Veli Bacik
committed
pedantic package and other fixed compelted
1 parent 240f596 commit cb2b537

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/view/_product/enum/network_route_enum.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ extension NetwrokRoutesString on NetworkRoutes {
44
String get rawValue {
55
switch (this) {
66
case NetworkRoutes.LOGIN:
7-
return "login";
7+
return 'login';
88
case NetworkRoutes.BUILD_HOME:
9-
return "house";
9+
return 'house';
1010
default:
11-
throw Exception("Routes Not FouND");
11+
throw Exception('Routes Not FouND');
1212
}
1313
}
1414
}

lib/view/authenticate/login/view/login_view.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class LoginView extends StatelessWidget {
6363
indicatorWeight: 5,
6464
indicatorSize: TabBarIndicatorSize.label,
6565
tabs: [
66-
Tab(text: " ${LocaleKeys.login_tab1.tr()} "),
66+
Tab(text: ' ${LocaleKeys.login_tab1.tr()} '),
6767
Tab(text: LocaleKeys.login_tab2.tr()),
6868
]);
6969
}
@@ -92,7 +92,7 @@ class LoginView extends StatelessWidget {
9292
return Observer(builder: (_) {
9393
return TextFormField(
9494
controller: viewModel.passwordController,
95-
validator: (value) => value.isNotEmpty ? null : "This field required",
95+
validator: (value) => value.isNotEmpty ? null : 'This field required',
9696
obscureText: viewModel.isLockOpen,
9797
decoration: InputDecoration(
9898
labelStyle: context.textTheme.subtitle1,
@@ -113,7 +113,7 @@ class LoginView extends StatelessWidget {
113113
TextFormField buildTextFormFieldEmail(BuildContext context, LoginViewModel viewModel) {
114114
return TextFormField(
115115
controller: viewModel.emailController,
116-
validator: (value) => value.isValidEmails ? "asdasd" : null,
116+
validator: (value) => value.isValidEmails ? 'asdasd' : null,
117117
decoration: InputDecoration(
118118
labelText: LocaleKeys.login_email.tr(),
119119
labelStyle: context.textTheme.subtitle1,

0 commit comments

Comments
 (0)