staff e store
This commit is contained in:
@@ -12,6 +12,8 @@ class FluxTextField extends StatelessWidget {
|
||||
final int? minLines;
|
||||
final int? maxLines;
|
||||
final Function(String)? onSubmitted;
|
||||
final int? maxLenght;
|
||||
final Function(String)? onChanged;
|
||||
|
||||
const FluxTextField({
|
||||
super.key, // Usiamo super.key per Flutter moderno
|
||||
@@ -24,6 +26,8 @@ class FluxTextField extends StatelessWidget {
|
||||
this.minLines,
|
||||
this.maxLines = 1,
|
||||
this.onSubmitted,
|
||||
this.maxLenght,
|
||||
this.onChanged,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -59,6 +63,8 @@ class FluxTextField extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
onSubmitted: onSubmitted,
|
||||
onChanged: onChanged,
|
||||
maxLength: maxLenght,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user