getClient static method

ActiveGridClient getClient(
  1. BuildContext context, {
  2. bool listen = true,
})

Get direct Access to ActiveGridClient

uses Provider to return the client

Implementation

static ActiveGridClient getClient(BuildContext context,
    {bool listen = true}) {
  return Provider.of<ActiveGridClient>(context, listen: listen);
}