shouldPersist property

bool shouldPersist
final

Whether the ghost text should persist until explicitly cleared.

When false (default), the ghost text will be cleared on cursor movement or mismatched typing, and accepted on Tab/Right Arrow. When true, the ghost text can only be cleared by calling CodeForgeController.clearGhostText.

Implementation

final bool shouldPersist;