FLUTTER ECOSYSTEM

comigor/fuzzy

Pesquisa aproximada em Dart

Capa do projeto difuso
Stars
41
Forks
22
Último push (UTC)
7 de set. de 2026
Status do projeto
Ativo
Igor Borges GitHub avatar
GITHUB User

Igor Borges ↗

🇧🇷. 32. Staff Software Engineer. Bugless Developer.

@decade-engSão PauloSite oficial ↗
LinguagensDart

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens
  • stringr^1.0.0
  • testDesenvolvimento^1.24.6-nullsafety
  • pedanticDesenvolvimento^1.11.1-nullsafety

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

Fuzzy

Pub Package CI

Fuzzy search in Dart.

This project is basically a code conversion, subset of Fuse.js.

Installation

add the following to your pubspec.yaml file:

dependencies:
  fuzzy: <1.0.0

then run:

pub get

or with flutter:

flutter packages get

Usage

import 'package:fuzzy/fuzzy.dart';

void main() {
  final fuse = Fuzzy(['apple', 'banana', 'orange']);

  final result = fuse.search('ran');

  result.map((r) => r.output.first.value).forEach(print);
}

Don't forget to take a look at FuzzyOptions!