Skip to main content

tristate 1.0.4 copy "tristate: ^1.0.4" to clipboard
tristate: ^1.0.4 copied to clipboard

An ultra-fast, zero-overhead Dart container for tri-state optional values, cleanly separating absent from explicitly null.

1.0.4 #

  • Aligned README.md documentation, section dividers, and usage examples with standard repository guidelines.
  • Added package topics and issue_tracker to pubspec.yaml for pub.dev discovery.

1.0.3 #

  • Added GitHub sponsorship and community support links to README.

1.0.2 #

  • Refined Val(T value) and _Val.value to T for compile-time rejection of null on non-nullable types.
  • Removed runtime as T cast in _Val.call(), accelerating explicit null resolution by ~5x.
  • Added zero-dependency Quick Copy drop-in code snippet to README.

1.0.1 #

  • Added 'Getting Started' instructions to README.

1.0.0 #

  • Initial version.
2
likes
160
points
43
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

An ultra-fast, zero-overhead Dart container for tri-state optional values, cleanly separating absent from explicitly null.

Repository (GitHub)
View/report issues

Topics

#tristate #optional #utilities #copywith #state-management

License

MIT (license)

More

Packages that depend on tristate