hasPrevSnippetField function

bool hasPrevSnippetField(
  1. EditorState state
)

Implementation

bool hasPrevSnippetField(EditorState state) {
  _ensureInitialized();
  final active = state.field(_snippetState, false);
  return active != null && active.active > 0;
}