type_anything 0.2.1
type_anything: ^0.2.1 copied to clipboard
Universal Spotlight, Shortcut Tokenizer & Rich Text Input Controls with Natural Syntax Parsing for Flutter.
0.2.1 #
- FEAT(type_anything): modularize pure algorithms, tentative lookahead scoping, and bump to v0.2.0. (4384d383)
0.2.0 #
- FEAT(algorithms): modularize string analysis into pure algorithms (
BoundaryGuard,LongestValidMatchScanner,TentativeLookaheadEvaluator,TextCleaner). - FEAT(scoping): implement benchmark Lookahead & Tentative Scoping Window (up to 3 non-matching words allowed after longest fit token).
- FEAT(rules): introduce
requiresExactEntityMatchinShortcutRuleto prevent non-existent single-word entities from false positive highlighting. - PERF(controller): on-demand tokenization cache in
TypeEditingController.tokenspreventing race conditions before overlay search. - TEST: comprehensive unit test coverage for pure algorithms and tentative scoping lookahead.
0.1.2 #
- FIX(type_anything): resolve dangling library doc comment in builtin_rules.dart to achieve 160/160 pub points.
0.1.1 #
- FEAT(type_anything): initial release of Universal Spotlight & Rich Text Input Controls. (9fc7c3f1)
Changelog #
All notable changes to type_anything will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2026-11-16 #
Added #
- TypeTokenizer: High-performance lexical engine featuring synchronous tokenization, boundary protection, and candidate expansion for multi-word token parsing (
#Project 2,@John Doe). - TypeEditingController: Custom
TextEditingControllerrendering highlighted spans and chips for detected tokens with positional index accuracy. - TypeAnythingField: Production-ready rich text input control with:
- Non-deforming floating suggestion overlay powered by
CompositedTransformFollower. - Keyboard navigation (
ArrowUp,ArrowDown,Enter,Tab,Escape). - Search debouncing to protect database/network queries.
- Non-deforming floating suggestion overlay powered by
- TypeAnythingTheme: Slot-driven theme delegate for deep visual customization (
itemTileBuilder,overlayContainerBuilder,chipSpanBuilder,emptySuggestionsBuilder). - Built-in Universal Detectors:
BuiltinRules.priority,BuiltinRules.duration,BuiltinRules.command. - DefaultTypeDateAdapter: Built-in universal temporal adapter supporting both English and Vietnamese natural language expressions (today, tomorrow, weekend, weekdays, hôm nay, ngày mai, cuối tuần, thứ 2 - chủ nhật).
- TypeRegistryProvider: Composition-based provider enabling direct rule passing without requiring subclassing.
- Comprehensive Unit Tests & Widget Tests suite.
- Example application demonstrating interactive quick-add form.