Skip to content

Commit dda8e8c

Browse files
committed
style: format misc
1 parent 0c9d6ef commit dda8e8c

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

lib/ads/interstitial_ad_manager.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ class InterstitialAdManager {
2626
required AppBloc appBloc,
2727
required AdService adService,
2828
Logger? logger,
29-
}) : _appBloc = appBloc,
30-
_adService = adService,
31-
_logger = logger ?? Logger('InterstitialAdManager') {
29+
}) : _appBloc = appBloc,
30+
_adService = adService,
31+
_logger = logger ?? Logger('InterstitialAdManager') {
3232
// Listen to the AppBloc stream to react to state changes.
3333
_appBlocSubscription = _appBloc.stream.listen(_onAppStateChanged);
3434
// Initialize with the current state.
@@ -100,8 +100,8 @@ class InterstitialAdManager {
100100
final brightness = appState.themeMode == ThemeMode.system
101101
? SchedulerBinding.instance.window.platformBrightness
102102
: (appState.themeMode == ThemeMode.dark
103-
? Brightness.dark
104-
: Brightness.light);
103+
? Brightness.dark
104+
: Brightness.light);
105105

106106
// Create a ThemeData instance from the AppState's settings.
107107
// This allows us to derive AdThemeStyle without a BuildContext.

lib/ads/widgets/demo_interstitial_ad_dialog.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ class _DemoInterstitialAdDialogState extends State<DemoInterstitialAdDialog> {
8888
right: AppSpacing.lg,
8989
child: canClose
9090
? IconButton(
91-
icon:
92-
Icon(Icons.close, color: theme.colorScheme.onSurface),
91+
icon: Icon(Icons.close, color: theme.colorScheme.onSurface),
9392
onPressed: () => Navigator.of(context).pop(),
9493
)
9594
: Container(

lib/ads/widgets/local_interstitial_ad_dialog.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ class _LocalInterstitialAdDialogState extends State<LocalInterstitialAdDialog> {
9494
right: AppSpacing.lg,
9595
child: canClose
9696
? IconButton(
97-
icon:
98-
Icon(Icons.close, color: theme.colorScheme.onSurface),
97+
icon: Icon(Icons.close, color: theme.colorScheme.onSurface),
9998
onPressed: () => Navigator.of(context).pop(),
10099
)
101100
: Container(

0 commit comments

Comments
 (0)