focusChangeEffect top-level property

Facet<StateEffect? Function(EditorState, bool), List<StateEffect? Function(EditorState, bool)>> focusChangeEffect
final

Facet for focus change effects.

Extensions can provide functions that return state effects to be dispatched when the editor's focus state changes.

Implementation

final Facet<StateEffect<dynamic>? Function(EditorState, bool),
    List<StateEffect<dynamic>? Function(EditorState, bool)>>
    focusChangeEffect = Facet.define();