delegateOf static method

FRouterDelegate delegateOf(
  1. BuildContext context, {
  2. bool listen = false,
})

Implementation

static FRouterDelegate delegateOf(BuildContext context,
    {bool listen = false}) {
  return Provider.of<SunnyRouter>(context, listen: listen).delegate;
}