This commit is contained in:
Vadim 2023-03-21 22:46:38 +03:00
parent e797054233
commit 2e9d49eb06

View file

@ -7,14 +7,14 @@ import 'package:m3_lightmeter_resources/m3_lightmeter_resources.dart';
import 'components/equipment_profile_container/widget_container_equipment_profile.dart'; import 'components/equipment_profile_container/widget_container_equipment_profile.dart';
import 'components/equipment_profile_name_dialog/widget_dialog_equipment_profile_name.dart'; import 'components/equipment_profile_name_dialog/widget_dialog_equipment_profile_name.dart';
class EquipmentProfileScreen extends StatefulWidget { class EquipmentProfilesScreen extends StatefulWidget {
const EquipmentProfileScreen({super.key}); const EquipmentProfilesScreen({super.key});
@override @override
State<EquipmentProfileScreen> createState() => _EquipmentProfileScreenState(); State<EquipmentProfilesScreen> createState() => _EquipmentProfilesScreenState();
} }
class _EquipmentProfileScreenState extends State<EquipmentProfileScreen> { class _EquipmentProfilesScreenState extends State<EquipmentProfilesScreen> {
static const maxProfiles = 5; // replace with a constant from iap static const maxProfiles = 5; // replace with a constant from iap
late List<GlobalKey<EquipmentProfileContainerState>> profileContainersKeys = []; late List<GlobalKey<EquipmentProfileContainerState>> profileContainersKeys = [];