mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 15:00:40 +00:00
cleanup
This commit is contained in:
parent
52d76129bf
commit
993456a94a
2 changed files with 2 additions and 4 deletions
|
@ -22,8 +22,7 @@ const primaryColorsList = [
|
||||||
];
|
];
|
||||||
|
|
||||||
ThemeData themeFrom(Color primaryColor, Brightness brightness) {
|
ThemeData themeFrom(Color primaryColor, Brightness brightness) {
|
||||||
final scheme = _colorSchemeFromColor(primaryColorsList[3], brightness);
|
final scheme = _colorSchemeFromColor(primaryColor, brightness);
|
||||||
print(scheme.surface.value.toRadixString(16));
|
|
||||||
final theme = ThemeData(
|
final theme = ThemeData(
|
||||||
useMaterial3: true,
|
useMaterial3: true,
|
||||||
brightness: scheme.brightness,
|
brightness: scheme.brightness,
|
||||||
|
|
|
@ -195,10 +195,9 @@ extension on WidgetTester {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension WidgetTesterExposurePairsListActions on WidgetTester {
|
extension on WidgetTester {
|
||||||
Future<void> scrollToExposurePair({
|
Future<void> scrollToExposurePair({
|
||||||
double ev = mockPhotoEv100,
|
double ev = mockPhotoEv100,
|
||||||
StopType stopType = StopType.third,
|
|
||||||
EquipmentProfile equipmentProfile = defaultEquipmentProfile,
|
EquipmentProfile equipmentProfile = defaultEquipmentProfile,
|
||||||
required ExposurePair exposurePair,
|
required ExposurePair exposurePair,
|
||||||
}) async {
|
}) async {
|
||||||
|
|
Loading…
Reference in a new issue