Konstanten für Länge von Namen #170
Reference in New Issue
Block a user
Delete Branch "enhancement/158-konstanten-für-länge-von-namen"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Zugehörige Issue(s)
Closes #158
Beschreibung
Es wurden Konstanten für die maximale Länge diverse Inputfelder implementiert.
Änderungen
MAX_PLAYER_NAME_LENGTH,MAX_GROUP_NAME_LENGTH,MAX_MATCH_NAME_LENGTH,MAX_GAME_NAME_LENGTH,MAX_TEAM_NAME_LENGTHimplementiertCreateGroupView,CreateMatchViewundPlayerSelectionimplementiertZusätzliche Anmerkungen
Für Teamname und Gamename gibt es aktuell noch keine Views, deswegen wurden diese noch nicht verwendet
@@ -12,2 +12,3 @@lines_longer_than_80_chars: falselines_longer_than_80_chars: falseconstant_identifier_names: falsewas ist constant identifier names?
Das deaktiviert, dass es eine Linter-Warnung gibt, wenn ich konstanten in
SCREAMING_CAMEL_CASEschreibe, weil Flutter die normalerweise inlowerCamelCasewill@@ -7,0 +18,4 @@static const int MAX_GAME_NAME_LENGTH = 256;/// Maximum length for team namesstatic const int MAX_TEAM_NAME_LENGTH = 256;warum Match, Game, Team so lang?
ups, das war wohl copilto auto complete
bro hat wieder kein finger gekrümmt
und kontrollierts nicht mal
@@ -6,11 +6,13 @@ 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.optional ergänzen? gleiche bei onchanged? bzw. onChanged kann ja auch required sein
ja und onchanged??
entweder required oder optional comment
comment