getOptions static method

ApptiveGridOptions getOptions(
  1. BuildContext context
)

Returns the ApptiveGridOptions associated with this ApptiveGrid widget

uses Provider to return the options

Implementation

static ApptiveGridOptions getOptions(BuildContext context) {
  return Provider.of<ApptiveGridClient>(context, listen: false).options;
}