isModal property

bool isModal

Implementation

bool get isModal {
  return ModalRoute.of(this) is UIModalRoute;
}