wiki library
Classes
Functions
-
fetchExtract(
String title) → Future< (WikiResult?, String?)> - Returns the introduction in plain text for the Wikipedia page with the specified title (WikiResult, null) or (null, errorMessage)
-
fetchThumbnail(
String uri) → Future< (Uint8List?, String?)> - Fetches the specified thumbnail as an Uint8List of image file data (Uint8List, null) or (null, errorMessage)
-
findBestPage(
String query) → Future< (String?, String?)> -
Searches Wikipedia using the
opensearch
API for the most suitable page (wikiTitle, null) or (null, errorMessage)