File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -163,9 +163,16 @@ class YYDialog {
163163 Color activeColor,
164164 Function (int ) onClickItemListener,
165165 }) {
166+ print ("YYDialog ==> listViewOfRadioButton()" );
167+ Size size = MediaQuery .of (context).size;
166168 return this .widget (
167169 Container (
168170 height: height,
171+ constraints: BoxConstraints (
172+ minHeight: size.height * .1 ,
173+ minWidth: size.width * .1 ,
174+ maxHeight: size.height * .5 ,
175+ ),
169176 child: YYRadioListTile (
170177 items: items,
171178 activeColor: activeColor,
@@ -197,9 +204,9 @@ class YYDialog {
197204 }
198205
199206 void show () {
207+ print ("YYDialog ==> show()" );
200208 var mainAxisAlignment = getColumnMainAxisAlignment (gravity);
201209 var crossAxisAlignment = getColumnCrossAxisAlignment (gravity);
202-
203210 Size size = MediaQuery .of (context).size;
204211 CustomDialog (
205212 gravity: gravity,
You can’t perform that action at this time.
0 commit comments