isIndexCompoundContainer method

bool isIndexCompoundContainer([
  1. FormIndex? index
])

Whether the element at index (by default the current one) is a group with appearance="full".

Implementation

bool isIndexCompoundContainer([FormIndex? index]) {
  index ??= _currentFormIndex;
  final hint = captionPrompt(index).appearanceHint;
  return event(index) == FormEntryEvent.group &&
      hint != null &&
      hint.toLowerCase() == 'full';
}