uifts library

This library translates a user-typed search query into SQLite FTS.

Classes

SearchQueryConverter
A parser for a user-friendly dialect of SQLite FTS5 expressions.

Enums

Msg
Error codes of SearchQueryConverter's parsing process.

Functions

defaultMessageResolver(Msg msg) → String
Returns the default error message for the given Msg error code.

Typedefs

FtsParser = Parser<FtsQ>
The return type of the SearchQueryConverter.build method.
MessageResolver = String Function(Msg msg)
The type of a callback that returns a message for a parser error code.