ripristinato codice stabile da branch staff
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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