staff e store

This commit is contained in:
2026-04-13 18:26:17 +02:00
parent 1ce956e1e8
commit f710183f61
6 changed files with 316 additions and 2 deletions

View File

@@ -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,
);
}
}