Skip to content

Commit d0dce9c

Browse files
committed
Fix:- no named parameter issue
1 parent db42ef8 commit d0dce9c

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
@@ -125,7 +125,7 @@ class YYDialog {
125125
}
126126
},
127127
style: TextButton.styleFrom(
128-
primary: color1 ?? Colors.black,
128+
backgroundColor: color1 ?? Colors.black,
129129
padding: buttonPadding1,
130130
textStyle: TextStyle(
131131
fontSize: fontSize1 ?? 18.0,

0 commit comments

Comments
 (0)