File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
lib/headlines-search/view Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -119,10 +119,12 @@ class _HeadlinesSearchViewState extends State<_HeadlinesSearchView> {
119
119
appBarTheme.titleTextStyle? .copyWith (
120
120
color: (appBarTheme.titleTextStyle? .color ??
121
121
colorScheme.onSurface)
122
- .withOpacity (0.6 ),
122
+ .withAlpha ( 153 ), // Replaced withOpacity(0.6)
123
123
) ??
124
124
theme.textTheme.titleLarge? .copyWith (
125
- color: colorScheme.onSurface.withOpacity (0.6 ),
125
+ color: colorScheme.onSurface.withAlpha (
126
+ 153 ,
127
+ ), // Replaced withOpacity(0.6)
126
128
),
127
129
// Remove the default border
128
130
border: InputBorder .none,
@@ -133,7 +135,9 @@ class _HeadlinesSearchViewState extends State<_HeadlinesSearchView> {
133
135
// Add a subtle background fill
134
136
filled: true ,
135
137
136
- fillColor: colorScheme.surface.withOpacity (0.1 ),
138
+ fillColor: colorScheme.surface.withAlpha (
139
+ 26 ,
140
+ ), // Replaced withOpacity(0.1)
137
141
// Apply consistent padding using AppSpacing
138
142
contentPadding: const EdgeInsets .symmetric (
139
143
horizontal: AppSpacing .paddingMedium,
You can’t perform that action at this time.
0 commit comments