@@ -21,7 +21,7 @@ YYDialog YYAlertDialog1(BuildContext context) {
2121 )
2222 ..doubleButton (
2323 padding: EdgeInsets .only (top: 24.0 ),
24- mainAxisAlignment : MainAxisAlignment .end ,
24+ gravity : Gravity .right ,
2525 text1: "ACTION 1" ,
2626 color1: Colors .deepPurpleAccent,
2727 fontSize1: 14.0 ,
@@ -49,7 +49,7 @@ YYDialog YYAlertDialog2(BuildContext context) {
4949 )
5050 ..doubleButton (
5151 padding: EdgeInsets .only (top: 10.0 ),
52- mainAxisAlignment : MainAxisAlignment .end ,
52+ gravity : Gravity .right ,
5353 text1: "CANCEL" ,
5454 color1: Colors .deepPurpleAccent,
5555 fontSize1: 14.0 ,
@@ -82,7 +82,7 @@ YYDialog YYAlertDialog3(BuildContext context) {
8282 )
8383 ..doubleButton (
8484 padding: EdgeInsets .only (top: 24.0 ),
85- mainAxisAlignment : MainAxisAlignment .end ,
85+ gravity : Gravity .right ,
8686 text1: "DISAGREE" ,
8787 color1: Colors .deepPurpleAccent,
8888 fontSize1: 14.0 ,
@@ -113,7 +113,7 @@ YYDialog YYAlertDialog4(BuildContext context) {
113113 )
114114 ..doubleButton (
115115 padding: EdgeInsets .only (top: 24.0 ),
116- mainAxisAlignment : MainAxisAlignment .end ,
116+ gravity : Gravity .right ,
117117 text1: "DISAGREE" ,
118118 color1: Colors .deepPurpleAccent,
119119 fontSize1: 14.0 ,
@@ -144,7 +144,7 @@ YYDialog YYAlertDialog5(BuildContext context) {
144144 )
145145 ..doubleButton (
146146 padding: EdgeInsets .only (top: 24.0 ),
147- mainAxisAlignment : MainAxisAlignment .end ,
147+ gravity : Gravity .right ,
148148 text1: "DISAGREE" ,
149149 color1: Colors .deepPurpleAccent,
150150 fontSize1: 14.0 ,
@@ -176,7 +176,7 @@ YYDialog YYAlertDialog6(BuildContext context) {
176176 )
177177 ..doubleButton (
178178 padding: EdgeInsets .only (top: 24.0 ),
179- mainAxisAlignment : MainAxisAlignment .end ,
179+ gravity : Gravity .right ,
180180 text1: "DISAGREE" ,
181181 color1: Colors .deepPurpleAccent,
182182 fontSize1: 14.0 ,
@@ -208,7 +208,7 @@ YYDialog YYAlertDialog7(BuildContext context) {
208208 )
209209 ..doubleButton (
210210 padding: EdgeInsets .only (top: 24.0 ),
211- mainAxisAlignment : MainAxisAlignment .end ,
211+ gravity : Gravity .right ,
212212 text1: "DISAGREE" ,
213213 color1: Colors .deepPurpleAccent,
214214 fontSize1: 14.0 ,
0 commit comments