Skip to content

Commit 278e19d

Browse files
committed
Fix:-missed primary changed to backgroundcolor
1 parent d0dce9c commit 278e19d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/flutter_custom_dialog.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class YYDialog {
149149
}
150150
},
151151
style: TextButton.styleFrom(
152-
primary: color2 ?? Colors.black,
152+
backgroundColor: color2 ?? Colors.black,
153153
padding: buttonPadding2,
154154
textStyle: TextStyle(
155155
fontSize: fontSize2 ?? 14.0,

0 commit comments

Comments
 (0)