2023-02-19 16:19:56 +00:00
|
|
|
import 'package:flutter/material.dart';
|
2023-04-01 16:15:30 +00:00
|
|
|
import 'package:lightmeter/features.dart';
|
2023-02-19 16:19:56 +00:00
|
|
|
import 'package:lightmeter/generated/l10n.dart';
|
|
|
|
import 'package:lightmeter/screens/settings/components/shared/settings_section/widget_settings_section.dart';
|
|
|
|
|
|
|
|
import 'components/calibration/widget_list_tile_calibration.dart';
|
2023-03-30 19:24:18 +00:00
|
|
|
import 'components/equipment_profiles/widget_list_tile_equipment_profiles.dart';
|
2023-02-19 16:19:56 +00:00
|
|
|
import 'components/fractional_stops/widget_list_tile_fractional_stops.dart';
|
|
|
|
|
|
|
|
class MeteringSettingsSection extends StatelessWidget {
|
|
|
|
const MeteringSettingsSection({super.key});
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return SettingsSection(
|
|
|
|
title: S.of(context).metering,
|
|
|
|
children: const [
|
|
|
|
StopTypeListTile(),
|
|
|
|
CalibrationListTile(),
|
2023-04-01 16:15:30 +00:00
|
|
|
if (FeaturesConfig.equipmentProfilesEnabled) EquipmentProfilesListTile(),
|
2023-02-19 16:19:56 +00:00
|
|
|
],
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|