2022-10-24 20:25:38 +00:00
|
|
|
import 'package:flutter/material.dart';
|
2022-10-26 19:49:21 +00:00
|
|
|
import 'package:lightmeter/models/photography_value.dart';
|
2022-10-24 20:25:38 +00:00
|
|
|
|
2022-10-29 11:01:15 +00:00
|
|
|
import 'components/bottom_controls/bottom_controls.dart';
|
2022-10-26 19:49:21 +00:00
|
|
|
import 'components/exposure_pairs_list/exposure_pairs_list.dart';
|
2022-10-24 20:25:38 +00:00
|
|
|
import 'components/topbar/topbar.dart';
|
|
|
|
|
|
|
|
class MeteringScreen extends StatelessWidget {
|
|
|
|
const MeteringScreen({super.key});
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
2022-10-26 19:49:21 +00:00
|
|
|
const ev = 0.3;
|
2022-10-24 20:25:38 +00:00
|
|
|
return Scaffold(
|
|
|
|
backgroundColor: Theme.of(context).colorScheme.background,
|
|
|
|
body: Column(
|
2022-10-26 19:49:21 +00:00
|
|
|
children: [
|
|
|
|
const MeteringTopBar(
|
|
|
|
ev: ev,
|
2022-10-24 20:25:38 +00:00
|
|
|
iso: 6400,
|
|
|
|
nd: 0,
|
|
|
|
),
|
2022-10-26 19:49:21 +00:00
|
|
|
Expanded(
|
|
|
|
child: ExposurePairsList(
|
|
|
|
ev: ev,
|
|
|
|
stopType: Stop.third,
|
|
|
|
),
|
|
|
|
),
|
2022-10-29 11:01:15 +00:00
|
|
|
MeteringBottomControls(
|
|
|
|
onSourceChanged: () {},
|
|
|
|
onMeasure: () {},
|
|
|
|
onSettings: () {},
|
|
|
|
),
|
2022-10-24 20:25:38 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|