Skip to content

Commit 3b55462

Browse files
committed
refactor: replace usage of deprecated dialogBackgroundColor
1 parent f7c67ea commit 3b55462

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/src/extensions/build_context/flashbars.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extension FlashbarHelpers on BuildContext {
2525
size: Theme.of(context).iconTheme.size ?? 25,
2626
),
2727
controller: controller,
28-
backgroundColor: Theme.of(context).dialogBackgroundColor,
28+
backgroundColor: DialogTheme.of(context).backgroundColor,
2929
shadowColor: Colors.black,
3030
shape: RoundedRectangleBorder(
3131
borderRadius: BorderRadius.circular(Insets.l),

0 commit comments

Comments
 (0)