Compare commits
2 Commits
0e747710ab
...
4fd8d2129b
| Author | SHA1 | Date | |
|---|---|---|---|
| 4fd8d2129b | |||
| db41f40a52 |
@@ -4,7 +4,7 @@ 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]: Optional parameter for maximum length of the input text.
|
||||
const TextInputField({
|
||||
@@ -18,7 +18,7 @@ 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<String>? onChanged;
|
||||
|
||||
/// The hint text displayed in the text input field when it is empty.
|
||||
|
||||
Reference in New Issue
Block a user