conditional_trigger 0.5.1+1 copy "conditional_trigger: ^0.5.1+1" to clipboard
conditional_trigger: ^0.5.1+1 copied to clipboard

Make it easier for you to set the conditions (such as min days or min calls) for specific method or widget.

0.5.1+1 #

  • Add code coverage badge.

0.5.1 #

  • Fixes issue that the call is not incremented.

0.5.0 #

  • Change the sdk version to ^3.3.0.
  • Bump the package_info_plus version to ^8.0.0.

0.4.0 #

  • Removes all deprecated ConditionalState to avoid the switch issue.
  • Removes deprecated methods.

0.3.1 #

  • Marks ConditionalTrigger.clearAllLastStates() as deprecated with ConditionalTrigger.clearAllStates().
  • Marks ConditionalState.dontSatisfyWithMinCalls, ConditionalState.dontSatisfyWithMinDays and ConditionalState.dontSatisfyWithMinCallsAndDays as deprecated with ConditionalState.notSatisfiedWithMinCalls, ConditionalState.notSatisfiedWithMinDays and ConditionalState.notSatisfiedWithMinCallsAndDays.
  • Improves the ConditionalState descriptions.
  • Updates dependencies.

0.3.0 #

  • Bump dependencies.

0.2.1 #

  • Change package_info_plus version to ^4.2.0.

0.2.0 #

  • Upgrade dependencies.

0.1.1 #

  • Update dependencies.
  • Update comment.
  • Update homepage URL.

0.1.0 #

  • Bump dependencies.

0.0.7 #

  • Added checkOnce method.
  • Changed the prefix of logs to ConditionalTrigger.

0.0.6 #

  • Update README.

0.0.5 #

  • Add ConditionalState.dontSatisfyWithMinCallsAndDays.
  • Remove duration parameter.

0.0.4 #

  • Bump dependencies

0.0.3 #

  • Add lastState to ConditionalTrigger to get the last state of the check().
  • Add dispose method as an optional to free the memory.
  • Able to clear all last states by using ConditionalTrigger.clearAllStates.
  • Update README.

0.0.2 #

  • Initial release.
3
likes
160
pub points
19%
popularity

Publisher

verified publisherlamnhan.dev

Make it easier for you to set the conditions (such as min days or min calls) for specific method or widget.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, package_info_plus, satisfied_version, shared_preferences

More

Packages that depend on conditional_trigger