Skip to content

Commit

Permalink
Use ColorScheme.surface as default background color of SheetContentSc…
Browse files Browse the repository at this point in the history
…affold
  • Loading branch information
fujidaiti committed Dec 27, 2023
1 parent 60ea86b commit 55f07e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/lib/src/foundation/sheet_content_scaffold.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class SheetContentScaffold extends StatelessWidget {

@override
Widget build(BuildContext context) {
final backgroundColor = this.backgroundColor ??
Theme.of(context).colorScheme.secondaryContainer;
final backgroundColor =
this.backgroundColor ?? Theme.of(context).colorScheme.surface;

final appBar = this.appBar != null && appbarDraggable
? _AppBarDraggable(appBar: this.appBar!)
Expand Down

0 comments on commit 55f07e0

Please sign in to comment.