This commit is contained in:
Vadim 2024-05-21 19:07:26 +02:00
parent 52d76129bf
commit 993456a94a
2 changed files with 2 additions and 4 deletions

View file

@ -22,8 +22,7 @@ const primaryColorsList = [
];
ThemeData themeFrom(Color primaryColor, Brightness brightness) {
final scheme = _colorSchemeFromColor(primaryColorsList[3], brightness);
print(scheme.surface.value.toRadixString(16));
final scheme = _colorSchemeFromColor(primaryColor, brightness);
final theme = ThemeData(
useMaterial3: true,
brightness: scheme.brightness,

View file

@ -195,10 +195,9 @@ extension on WidgetTester {
}
}
extension WidgetTesterExposurePairsListActions on WidgetTester {
extension on WidgetTester {
Future<void> scrollToExposurePair({
double ev = mockPhotoEv100,
StopType stopType = StopType.third,
EquipmentProfile equipmentProfile = defaultEquipmentProfile,
required ExposurePair exposurePair,
}) async {