ZefyrController constructor

ZefyrController([
  1. NotusDocument? document
])

Implementation

ZefyrController([NotusDocument? document])
    : document = document ?? NotusDocument(),
      _selection = TextSelection.collapsed(offset: 0);