maybeOf<P> static method
- BuildContext context
Returns the ancestor paged dialog state, or null if none are found.
Implementation
static PagedDialogState<P>? maybeOf<P>(BuildContext context) =>
context.findAncestorStateOfType<PagedDialogState<P>>();