2 Commits

Author SHA1 Message Date
0e747710ab Edited comment
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m5s
Pull Request Pipeline / lint (pull_request) Successful in 2m10s
2026-01-17 14:33:24 +01:00
9f44f02a35 Changed length to 32 2026-01-17 14:32:25 +01:00
2 changed files with 5 additions and 5 deletions

View File

@@ -12,11 +12,11 @@ class Constants {
static const int MAX_GROUP_NAME_LENGTH = 32;
/// Maximum length for match names
static const int MAX_MATCH_NAME_LENGTH = 256;
static const int MAX_MATCH_NAME_LENGTH = 32;
/// Maximum length for game names
static const int MAX_GAME_NAME_LENGTH = 256;
static const int MAX_GAME_NAME_LENGTH = 32;
/// Maximum length for team names
static const int MAX_TEAM_NAME_LENGTH = 256;
static const int MAX_TEAM_NAME_LENGTH = 32;
}

View File

@@ -6,7 +6,7 @@ class TextInputField extends StatelessWidget {
/// - [controller]: The controller for the text input field.
/// - [onChanged]: The callback invoked when the text in the field changes.
/// - [hintText]: The hint text displayed in the text input field when it is empty
/// - [maxLength]: The maximum length of the input text.
/// - [maxLength]: Optional parameter for maximum length of the input text.
const TextInputField({
super.key,
required this.controller,
@@ -24,7 +24,7 @@ class TextInputField extends StatelessWidget {
/// The hint text displayed in the text input field when it is empty.
final String hintText;
/// The maximum length of the input text.
/// Optional parameter for maximum length of the input text.
final int? maxLength;
@override