We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcead12 commit ef1bc99Copy full SHA for ef1bc99
lib/screens/auth_screen.dart
@@ -246,13 +246,13 @@ class _AuthCardState extends State<AuthCard> {
246
textInputAction: TextInputAction.next,
247
keyboardType: TextInputType.emailAddress,
248
validator: (value) {
249
- if (value==null || value.isEmpty) {
+ if (value == null || value.isEmpty) {
250
return AppLocalizations.of(context).invalidUsername;
251
}
252
if (!RegExp(r'^[\w.@+-]+$').hasMatch(value!)) {
253
return AppLocalizations.of(context).usernameValidChars;
254
255
-
+
256
return null;
257
},
258
inputFormatters: [FilteringTextInputFormatter.deny(RegExp(r'\s\b|\b\s'))],
0 commit comments