initZcodeDB function
init zcode word database.
If your app support Web
, I recommend you to set optional params dbUrl
and sqlite3Url
.
Upload zcode_ime.db
and sqlite3.wasm
to your object server supporting CDN. These files are too large to maybe
freeze your Web app server if you do not set dbUrl
and sqlite3Url
. If
you not setting these parameters, this package will fetch these files from
your Web app server.
dbUrl
is the URL of the zcode_ime.db
file you uploaded.
sqlite3Url
is the URL of the sqlite3.wasm
file you uploaded.
Implementation
void initZcodeDB({String? dbUrl, String? sqlite3Url}) {
internalZcodeDBInit(dbUrl: dbUrl, sqlite3Url: sqlite3Url);
}