mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-08-17 18:46:47 +00:00

* typos * added `LogbookPhotosProvider` * implemented `LogbookScreen` * implemented `LogbookPhotoEditScreen` * added photo update * save geolocation * added `CameraSettingsSection` * adjusted logbook grid * added hero animation * fixed logbook list updates * added empty logbook state * added `saveLogbookPhotos` option * fixed updating photos * made `DialogPicker` content scrollable * added tests for `LogbookPhotosProvider` * made image preview full-width * made note field multiline * wip * migrated to new iap service * fixed unit tests * typo * fixed arb formatting * stub logbook photos for tests * implemented integration test for logbook * moved date to title * redundant bottom padding * added logbook photo screen to screenshots generator * Update settings.gradle * aligned iap stub with iap release * sync * made logbook iap * debug screenshots * Update runner.dart * fixed dialog picker of optional values * added bottom padding to logbook edit screen * fixed tests * Create camera_stub_image.jpg * Update films_provider_test.dart * rename * aligned with iap * added missing translations * theme * adjusted products color * check pro status on settings open * added yearly subscription * handle purchase errors * fixed bottom navigation bar behaviour * handle only lifetime product case * don't fetch products * reworked restoring purchases * fixed mocks * fixed golden tests * fixed logbook integration test * sync pubspec * sync stub
24 lines
628 B
Dart
24 lines
628 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:lightmeter/generated/l10n.dart';
|
|
|
|
class FilledButtonLarge extends StatelessWidget {
|
|
const FilledButtonLarge({
|
|
required this.title,
|
|
required this.onPressed,
|
|
});
|
|
|
|
final String title;
|
|
final VoidCallback? onPressed;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return FilledButton(
|
|
style: Theme.of(context)
|
|
.filledButtonTheme
|
|
.style!
|
|
.copyWith(textStyle: WidgetStatePropertyAll(Theme.of(context).textTheme.titleMedium)),
|
|
onPressed: onPressed,
|
|
child: Text(S.of(context).continuePurchase),
|
|
);
|
|
}
|
|
}
|