Modal top-level property

ModalApi get Modal

The global modal API.

Named for the thing it opens rather than in lowerCamelCase, so that Modal.confirm(...) reads as the dialog it raises.

Implementation

// ignore: non_constant_identifier_names
ModalApi get Modal => const ModalApi._();