buono buono buono, staff funziona
This commit is contained in:
@@ -29,8 +29,9 @@ class _StoresScreenState extends State<StoresScreen> {
|
||||
appBar: AppBar(title: const Text("I Tuoi Negozi")),
|
||||
body: BlocBuilder<StoreBloc, StoreState>(
|
||||
builder: (context, state) {
|
||||
if (state.status == StoreStatus.loading)
|
||||
if (state.status == StoreStatus.loading) {
|
||||
return const Center(child: CircularProgressIndicator());
|
||||
}
|
||||
|
||||
return ListView.builder(
|
||||
padding: const EdgeInsets.all(16),
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user