Compare commits
2 Commits
783f772da1
...
0e747710ab
| Author | SHA1 | Date | |
|---|---|---|---|
| 0e747710ab | |||
| 9f44f02a35 |
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user