Skip to content

Commit 50acd44

Browse files
authored
Fix compile issue with Flutter 3.32 (#26)
In new versions of flutter, `ThemeData`.`dialogTheme` is now a `DialogThemeData`. https://docs.flutter.dev/release/breaking-changes/material-theme-system-updates
1 parent 2b29dfc commit 50acd44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/ui/widgets/theme.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class LiveKitTheme {
8484
return Colors.white.withValues(alpha: 0.3);
8585
}),
8686
),
87-
dialogTheme: DialogTheme(
87+
dialogTheme: DialogThemeData(
8888
backgroundColor: cardColor,
8989
shape: RoundedRectangleBorder(
9090
borderRadius: BorderRadius.circular(8),

0 commit comments

Comments
 (0)