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

outdated

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

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
0
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

easy_debounce

More

Packages that depend on toggleable