of<P> static method

PagedDialogState<P> of<P>(
  1. BuildContext context
)

Returns the ancestor paged dialog state

Implementation

static PagedDialogState<P> of<P>(BuildContext context) =>
    context.findAncestorStateOfType<PagedDialogState<P>>()!;