From db41f40a5233e46feaeac591fbfd4f65d8967195 Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Sat, 17 Jan 2026 14:33:24 +0100 Subject: [PATCH] Edited comment --- lib/presentation/widgets/text_input/text_input_field.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/presentation/widgets/text_input/text_input_field.dart b/lib/presentation/widgets/text_input/text_input_field.dart index 37f9ce4..8f7a597 100644 --- a/lib/presentation/widgets/text_input/text_input_field.dart +++ b/lib/presentation/widgets/text_input/text_input_field.dart @@ -4,9 +4,9 @@ import 'package:game_tracker/core/custom_theme.dart'; class TextInputField extends StatelessWidget { /// A custom text input field widget that encapsulates a [TextField] with specific styling. /// - [controller]: The controller for the text input field. - /// - [onChanged]: The callback invoked when the text in the field changes. + /// - [onChanged]: Optional 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, @@ -18,13 +18,13 @@ class TextInputField extends StatelessWidget { /// The controller for the text input field. final TextEditingController controller; - /// The callback invoked when the text in the field changes. + /// Optional callback invoked when the text in the field changes. final ValueChanged? onChanged; /// 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