Accessibility modal - Flutter

On Flutter, the ModelBarrier class takes accessibility into account. The barrierDismissable and barrierLabel are used by assistive technologies. When barrierDismissable is set to false, the focus of assistive technologies is trapped inside the modal. The value of barrierLabel is announced upon entering the modal.

showDialog(
    context: context,
    barrierDismissible: false,
    barrierLabel: 'Label'
    builder: (context) {
        return SimpleDialog(
            title: Text('Appt')
        );
    },
);