Open alandotic opened 3 years ago
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
constrain
maxHeight
SelectDialog.showModal<String>( context, constraints: BoxConstraints(maxHeight: 150), ... )
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