buono buono buono, staff funziona

This commit is contained in:
2026-04-14 11:38:22 +02:00
parent 541000390e
commit 7f8c0d642a
2 changed files with 5 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ class _StoresScreenState extends State<StoresScreen> {
side: BorderSide(
color: store.isActive
? Colors.transparent
: Colors.red.withOpacity(0.3),
: Colors.red.withValues(alpha: 0.3),
),
),
child: Column(
@@ -174,7 +174,7 @@ class _StoresScreenState extends State<StoresScreen> {
label: "CAP",
icon: Icons.local_post_office_outlined,
keyboardType: TextInputType.number,
maxLenght: 5,
maxLength: 5,
),
),
const SizedBox(width: 8),
@@ -195,7 +195,7 @@ class _StoresScreenState extends State<StoresScreen> {
label: "Prov",
icon: Icons.explore_outlined,
keyboardType: TextInputType.text,
maxLenght: 2,
maxLength: 2,
onChanged: (val) => provinciaController.text = val
.toUpperCase(), // Rimpiazzo automatico in maiuscolo
// Qui potresti aggiungere un rimpiazzo automatico in maiuscolo