Search packages, repositories and app categories

GitHub repositoryFlutterFlow/text_search

text_search

An in-memory fuzzy text search library for Dart.

text_search project cover
Stars
18
Forks
4
Last push (UTC)
May 22, 2024
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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.

FlutterFlow GitHub avatar
GitHub author

FlutterFlow ↗

LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 3 items

  • tuple^2.0.0
  • pedanticDevelopment—
  • testDevelopment—

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗