select_dialog
select_dialog copied to clipboard
shrinkWrap option for short item list
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 you already have an option for that constrain
, create dialog widget and set maxHeight
, see
SelectDialog.showModal<String>(
context,
constraints: BoxConstraints(maxHeight: 150),
...
)