Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions lib/flutter_custom_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,14 @@ class YYDialog {
fontWeight1,
fontFamily1,
VoidCallback onTap1,
buttonPadding1 = const EdgeInsets.all(0.0),
text2,
color2,
fontSize2,
fontWeight2,
fontFamily2,
onTap2,
buttonPadding2 = const EdgeInsets.all(0.0),
}) {
return this.widget(
SizedBox(
Expand All @@ -122,7 +124,7 @@ class YYDialog {
dismiss();
}
},
padding: EdgeInsets.all(0.0),
padding: buttonPadding1,
child: Text(
text1 ?? "",
style: TextStyle(
Expand All @@ -144,7 +146,7 @@ class YYDialog {
dismiss();
}
},
padding: EdgeInsets.all(0.0),
padding: buttonPadding2,
child: Text(
text2 ?? "",
style: TextStyle(
Expand Down