Skip to content

Commit

Permalink
Change the shadow color for the dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
g123k committed Jan 9, 2025
1 parent fd827e2 commit 117cdf0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import 'package:smooth_app/pages/product/owner_field_info.dart';
import 'package:smooth_app/pages/product/simple_input_page_helpers.dart';
import 'package:smooth_app/pages/product/simple_input_text_field.dart';
import 'package:smooth_app/resources/app_icons.dart' as icons;
import 'package:smooth_app/themes/theme_provider.dart';

/// Simple input widget: we have a list of terms, we add, we remove.
class SimpleInputWidget extends StatefulWidget {
Expand Down Expand Up @@ -219,6 +220,7 @@ class _SimpleInputWidgetState extends State<SimpleInputWidget> {

return Material(
elevation: elevation,
shadowColor: context.darkTheme() ? Colors.white24 : null,
borderRadius: ANGULAR_BORDER_RADIUS,
child: child,
);
Expand Down

0 comments on commit 117cdf0

Please sign in to comment.