- Fix
Undefined name 'optionalTypeArgs'.Also adds back the hard dep on freezed_annotation.
- Added notification functionality. The error variant now passes through the error and stacktrace which would be needed for a notification to be useful. This is a breaking change as the error widget now takes an error and stacktrace as arguments.
- Not pushed
- Added back freezed_annotation as a hard dep.
- Fixed onError never being called when an error occurs - Credit @jonjomckay
- Removed freezed dependency and added new callbacks @mergehez
- Upgrade to freezed 2 (excluding user now) @quantosapplications @esenmx
Ignore .vscode, update versions and re-export button state. Credit @esenmx
Got rid of hook version as it was complicating a simple package and likely discouraging possible contributors.
Fix manual button state changes. Credit to @iliser
Upgraded deps
Upgraded deps
Fixed github actions
Trying to fix pub stuff
Trying to fix pub stuff
Fix home page
Have proper types exported
Fix possibility of nested async button builders conflicting with each other due to matching keyed subtrees. In order to avoid this situation, the parent key of the async_button_builder is used in the creation of sub widgets.
Was not using proper sucessDuration when setting timeouts (regression)
Tests and builds against stable. flutter_lints now used in place of pedantic
Fixes analysis errors so I stop getting annoying emails
Errors from onpressed will throw with orignal call stack
Makes onpressed nullable similar to other button's behaviour
Add documentation on how to handle timeouts
ValueKeys are now no longer required in order to differentiate children
Remove null-safety prefix as it's now in stable
Trying to bump version again to go over stable
Trying to bump version again to go over stable
Republish so current nullsafe becomes main. My mistake
Added a typedef in place of inline type on function. Added doc to builder field
Renamed Union classes to match that of factory constructor name (Should not be breaking).
Removed example integration test
Adds tests and test coverage. Adds on dispose to cancel timer.
Removes dangling controller and cleans up main code up a bit
Fixes wrong image path
Renames fields to better match standards of other buttons.
Breaking. Replaces the fourth argument with a sealed union that better allows for directly managing states, removes unnecessary arguments such as padding, adds transition builders for custom transitions. Currently still includes AnimatedSize.
Breaking. Adds a fourth argument of loading to the builder. This removes the value notifier that was difficult or confusing to manage in actual usage in my use cases. The argument isLoading is now a bool. This also adds a disabled field in order to set that on construction.
Replaces the bool type of isLoading for a ValueNotifier.
Adds analysis options and removes unnecessary typedef
Adds docs to parameters and removes use of unnecessary undescore internal variables.
Holds basic builder AsyncButtonBuilder. No tests yet. NNBD is supported