of<P> static method
- BuildContext context
Returns the ancestor paged dialog state
Implementation
static PagedDialogState<P> of<P>(BuildContext context) =>
context.findAncestorStateOfType<PagedDialogState<P>>()!;
Returns the ancestor paged dialog state
static PagedDialogState<P> of<P>(BuildContext context) =>
context.findAncestorStateOfType<PagedDialogState<P>>()!;