isInkWell static method

bool isInkWell(
  1. dynamic content
)

Determines if the value should be wrapped in an InkWell for expanding/collapsing.

Implementation

static bool isInkWell(dynamic content) {
  return content is Map || (content is List && content.isNotEmpty);
}