ActiveGrid.withClient constructor

  1. @visibleForTesting
ActiveGrid.withClient({
  1. required ActiveGridClient client,
  2. Widget? child,
  3. ActiveGridOptions options = const ActiveGridOptions(),
})

Creates ActiveGrid with an defined ActiveGridClient

Used testing to Provide a MockedClient

Implementation

@visibleForTesting
ActiveGrid.withClient(
    {required ActiveGridClient client,
    this.child,
    this.options = const ActiveGridOptions()})
    : client = client;