toggleable 2.1.2 copy "toggleable: ^2.1.2" to clipboard
toggleable: ^2.1.2 copied to clipboard

Helps maintaining the state which can toggle. It provides various of helper methods.

2.1.2 #

  • fix: Return omitted return type of Toggleable.from

2.1.1 #

  • fix: Change Toggleable.from from factory method to static
    • This is because of the interoperability to json_serializable

2.1.0 #

  • feat!: onUpdateCallback is now passes changed state

2.0.0 #

  • feat!: onUpdateCallback has ability to register multiple callbacks
  • feat!: Change listeners to be not notified if state not changed
    • Also added the way to notify forcefully even though the state is not changed

1.0.2 #

  • Format code

1.0.1 #

  • Change Toggleable.from() to factory constructor

1.0.0 #

  • Release stable version
  • Add some docs

0.0.7 #

  • Fix completer does not re-initializing after completed

0.0.6 #

  • Add the ability to know listener callbacks are called

0.0.5 #

  • Add when method to ToggleableState for comfort

0.0.4 #

  • Add some docs

0.0.3 #

  • Add static method for initializing Toggleable from bool value

0.0.2 #

  • refact: Change file name
  • fix: Change toggleable state to be sharing the debounce id
  • test: Add lib tests

0.0.1 #

  • Initial version.
7
likes
150
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

Helps maintaining the state which can toggle. It provides various of helper methods.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

easy_debounce

More

Packages that depend on toggleable