v0.5.1
fuzzy
Dart में फजी खोज। प्रारंभ में कोड रूपांतरण, Fuse.js का उपसेट।
108लाइक 41.1 हज़ार30-दिन डाउनलोड150Pub अंक
AndroidiOSWebmacOSWindowsLinux
Dart में फ़ज़ी सर्च
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Fuzzy search in Dart.
This project is basically a code conversion, subset of Fuse.js.
add the following to your pubspec.yaml file:
dependencies:
fuzzy: <1.0.0
then run:
pub get
or with flutter:
flutter packages get
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!