FLUTTER ECOSYSTEM

FlutterFlow/text_search

Eine in-Memory-Fuzzy-Textsuchbibliothek für Dart.

Projektcover von text_suche
Stars
18
Forks
4
Letzter Push (UTC)
22.05.2024
Projektstatus
Aktiv
FlutterFlow GitHub avatar
GITHUB Organization

FlutterFlow ↗

SprachenDart

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 3 Einträge
  • tuple^2.0.0
  • pedanticEntwicklung
  • testEntwicklung

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Projekt-README ein-/ausklappen

An in-memory fuzzy text search library for Dart.

license.

Usage

A simple usage example:

import 'package:text_search/text_search.dart';

main() {
  final searchableItems = [
    TextSearchItem.fromTerms('Coffee Shop', ['coffee', 'latte', 'macchiato', 'tea']),
    TextSearchItem.fromTerms('Dessert', ['ice cream', 'cake', 'pastry']),
    TextSearchItem.fromTerms('Milk Tea Shop', ['boba', 'milk tea', 'bubble tea']),
  ];

  final placeTypeSearch = TextSearch(searchableItems);
  print(placeTypeSearch.search('icecream'));
}

Features and bugs

Please file feature requests and bugs at the issue tracker.