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