debugCheckContext method

  1. @override
bool debugCheckContext(
  1. BuildContext context
)
override

Asserts that the given context satisfies the prerequisites for this class.

This method is intended to be overridden by descendants that specialize InkResponse for unusual cases. For example, TableRowInkWell implements this method to verify that the widget is in a table.

Implementation

@override
bool debugCheckContext(BuildContext context) {
  assert(debugCheckHasTable(context));
  return super.debugCheckContext(context);
}