Dialog

PROPS

namedescriptiontypedefault
visibleControl visibility of the dialogbool
onDismissDismiss callback for when clicking on the backgroundfunc
dismissSwipeDirectionThe direction of the swipe to dismiss the dialog (default is 'down')enum
overlayBackgroundColorThe color of the overlay backgroundstringColors.rgba(Colors.dark10, 0.6)
widthThe dialog width (default: 90%)union'90%'
heightThe dialog height (default: 70%)union'70%'
animationConfigThe animation configuration to pass to the dialog (ex. {animation, delay, duration, easing})object
containerStyleThe dialog container styleunion
disablePanDisable the pan gesture recognizerbool
useModalWhether to display the dialog in a modalbooltrue