11import 'package:flutter/foundation.dart' ;
2+ import 'package:flutter/material.dart' ;
23
34import 'package:webtrit_phone/theme/theme.dart' ;
4- import 'package:webtrit_phone/widgets/themed_scaffold.dart' ;
55
66import '../widgets/actionpad_style.dart' ;
77import '../widgets/keypad_style.dart' ;
@@ -23,7 +23,7 @@ class KeypadScreenStyle extends BaseScreenStyle with Diagnosticable {
2323 });
2424
2525 /// Overrides the theme brightness (Light/Dark) for the screen content.
26- final ContentThemeOverride ? contentThemeOverride;
26+ final ThemeMode ? contentThemeOverride;
2727
2828 /// If true, the AppBar will ignore the [contentThemeOverride] and keep the global theme.
2929 final bool ? applyToAppBar;
@@ -43,7 +43,7 @@ class KeypadScreenStyle extends BaseScreenStyle with Diagnosticable {
4343 /// Creates a copy of this style with the given fields replaced with the new values.
4444 KeypadScreenStyle copyWith ({
4545 BackgroundStyle ? background,
46- ContentThemeOverride ? contentThemeOverride,
46+ ThemeMode ? contentThemeOverride,
4747 bool ? applyToAppBar,
4848 TextFieldStyle ? inputField,
4949 TextFieldStyle ? contactNameField,
@@ -95,7 +95,7 @@ class KeypadScreenStyle extends BaseScreenStyle with Diagnosticable {
9595 super .debugFillProperties (properties);
9696 properties
9797 ..add (DiagnosticsProperty <BackgroundStyle ?>('background' , background))
98- ..add (EnumProperty <ContentThemeOverride ?>('contentThemeOverride' , contentThemeOverride))
98+ ..add (EnumProperty <ThemeMode ?>('contentThemeOverride' , contentThemeOverride))
9999 ..add (DiagnosticsProperty <bool ?>('applyToAppBar' , applyToAppBar))
100100 ..add (DiagnosticsProperty <TextFieldStyle ?>('inputField' , inputField))
101101 ..add (DiagnosticsProperty <TextFieldStyle ?>('contactNameField' , contactNameField))
0 commit comments