Edited comment
This commit is contained in:
@@ -6,7 +6,7 @@ class TextInputField extends StatelessWidget {
|
|||||||
/// - [controller]: The controller for the text input field.
|
/// - [controller]: The controller for the text input field.
|
||||||
/// - [onChanged]: The callback invoked when the text in the field changes.
|
/// - [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
|
/// - [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({
|
const TextInputField({
|
||||||
super.key,
|
super.key,
|
||||||
required this.controller,
|
required this.controller,
|
||||||
@@ -24,7 +24,7 @@ class TextInputField extends StatelessWidget {
|
|||||||
/// The hint text displayed in the text input field when it is empty.
|
/// The hint text displayed in the text input field when it is empty.
|
||||||
final String hintText;
|
final String hintText;
|
||||||
|
|
||||||
/// The maximum length of the input text.
|
/// Optional parameter for maximum length of the input text.
|
||||||
final int? maxLength;
|
final int? maxLength;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
Reference in New Issue
Block a user