ripristinato codice stabile da branch staff

This commit is contained in:
2026-04-14 11:29:49 +02:00
parent f33b63c0c6
commit 541000390e
28 changed files with 2260 additions and 13 deletions

View File

@@ -2,7 +2,7 @@ import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:flux/core/enums/enums.dart';
import 'package:flux/features/company/models/company_model.dart';
import 'package:flux/features/store/models/store_model.dart';
import 'package:flux/features/master_data/store/models/store_model.dart';
import 'package:get_it/get_it.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'dart:async';

View File

@@ -5,8 +5,8 @@ import 'package:flux/features/company/ui/create_company_screen.dart';
import 'package:flux/features/customers/models/customer_model.dart';
import 'package:flux/features/customers/ui/customer_detail_screen.dart';
import 'package:flux/features/home/ui/home_screen.dart';
import 'package:flux/features/products/ui/products_screen.dart';
import 'package:flux/features/store/ui/create_store_screen.dart';
import 'package:flux/features/master_data/products/ui/products_screen.dart';
import 'package:flux/features/master_data/store/ui/create_store_screen.dart';
import 'package:go_router/go_router.dart';
import 'dart:async';

View File

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