select_dialog icon indicating copy to clipboard operation
select_dialog copied to clipboard

shrinkWrap option for short item list

Open alandotic opened this issue 4 years ago • 1 comments

Is there a way to set the height of the pop up modal? i would want the modal to be smaller if the item size is small

alandotic avatar Jan 27 '21 10:01 alandotic

@alandotic you already have an option for that constrain, create dialog widget and set maxHeight, see

SelectDialog.showModal<String>(
     context,
     constraints: BoxConstraints(maxHeight: 150),
     ...
)

sigrlami avatar Oct 01 '21 07:10 sigrlami