flutter_appbar 1.6.1
flutter_appbar: ^1.6.1 copied to clipboard
This package implements the flexible appbar behavior, And we pursue higher performance and responsiveness than the appbar generally provided by Flutter.
1.0.0-dev1 #
- 😀 Initial publishing.
1.0.0-dev2 #
-
Proceed with documentation of README.md and its overall source-code by adding comments.
-
Renamed from
AppBarAligntoAppBarAlignmentCommandand fromAppBarAlignBehaviortoAppBarAlignmentBehavior. -
Fixed an issue by implementing code that delegates all appbar states and operations from the existing appbar controller to the new app bar controller.
1.0.0-dev3 #
- Fixed an issue by preventing scroll offset from being pre-consumed during forward overscrolling, resolving various issues related to the bouncing scroll physics.
1.0.0-dev4 #
-
Fixed an issue where the appbar did not expand properly.
-
Added the SizedAppBar widget to allow defining a fixed size.
1.0.0-beta1 #
- Fixed an issue where the scroll activity instance was replaced even when it was not necessary due to changes in the Scrollable's size.
1.0.1 #
- Fixed an issue where the scroll activity does not change to Idle even when the velocity is 0.
1.0.2 #
-
Fixed the junk issue related to clipping during overscrolling.
-
Added basic logic for bouncing overscroll consumption (still in development).
1.1.0 #
-
Added
DrivenAppBarBehavior, which handles the bouncing synchronization of the app bar. (AbsoluteAppBarBehaviorandMaterialAppBarBehaviornow inherit from theDrivenAppBarBehaviorclass.) -
Added
bouncingproperty inAbsoluteAppBarBehavior. -
Added
bouncingproperty inMaterialAppBarBehavior. -
Added related logic in
AppBarConnectionto enable synchronization with bouncing. -
Added the bouncingAlignment property to the AppBar, allowing the layout alignment of the app bar to be defined when synchronized with bouncing.
1.1.1 #
-
Fixed an issue where the dragOnlyExpanding option in
MaterialAppBarBehaviorwas not working correctly. -
Fixed an issue where the app bar was not scrolling correctly in Bouncing even when scrolling was not possible.
1.1.2 #
-
Added
synchronizeWithfunction to synchronize appbar updates between specified indices, ensuring that when the appbar at the first index is updated, the appbar at the second index is also updated accordingly. -
Fixed an issue where the appbar did not properly consume the overscroll when the overscroll direction immediately switched to forward or backward, or vice versa, causing abnormal behavior.
1.1.3 #
- Fixed an issue related to bouncing overscroll about appbar pixels safety.
1.1.7 #
-
Fixed an issue where hit testing did not work correctly when the app bar was scrolled status.
-
Added additional comments for documentation.
1.2.0 #
-
Updated by removing the existing legacy appbar alignment-related code and adding functions such as
notifyScrollEnd,performAlignment,expand, andshrinkto allow more flexible external control over alignment. -
Updated
AbsoluteAppBarBehavior, which previously did not support alignment, to allow external control over appbar alignment animations.
1.2.1 #
-
Fixed an issue where the appbar would expand again when its height increased in the fully shrinked state by normalizing its offset to a range of 0 to 1 instead of using the pixels unit.
-
Added the
initialOffsetproperty toAppBarandSizedAppBar, which defines the initial expansion or collapse state of the app bar and must be a value between 0 and 1.
1.2.2 #
- Fixed an issue where Flutter default stretch overscroll effect behaved unnaturally when scrolling was not possible with
ClampingScrollPhysics.
1.2.3 #
- Fixed an issue where the appbar could reference outdated
maxScrollExtentvalues because theScrollablewidget layout intrinsic size changes were updated only after all size calculations were completed.
1.3.0 #
-
Added
EffectUtilclass for the appbar effect calculation. -
Added
AppBarFadeEffect.onShrinkwidget that apply fade-out effect by a given appbar position. -
Added
AppBarFadeEffect.onExpandwidget that apply fade-out effect by a given appbar position.
1.3.1 #
-
Fixed an issue where multiple instances of
ScrollControllerwere created whenNestedScrollConnectionwas nested two or more times in the widget tree. -
Fixed an issue where the
alwaysScrollingoption related logic inMaterialAppBarBehaviordid not correctly determine the scrollability of the appbar.
1.3.2 #
- Fixed an issue where an exception occurred in
ScrollControllerwhen the widget tree structure changed(e.g. detach and then attach).
1.4.0 #
-
Added
NestedScrollConnectionPropagationenumeration for NestedScrollConnection widget. -
Added
propagationproperty that is NestedScrollConnectionPropagation type in NestedScrollConnection widget. -
Added
nestedPropagationproperty that is NestedScrollConnectionPropagation type in AppBarConnection widget. -
Remove
NestedScrollFlingListenertypedef. -
Changed the fling listener to a consuming.
1.4.1 #
- Fixed an issue about not initialized
NestedScrollControllerinistacne inAppBarConnectionwidget.
1.4.2 #
-
Fixed an issue where an overflow-related exception would occur when the appbar exceeded the parent height, allowing it to extend beyond the parent without causing errors.
-
Fixed an issue about not working initialScrollOffset in
NestedScrollController.
1.4.3 #
- Fixed an issue where the appbar would not render in situations where both the viewport changed and its position was updated.
1.4.4 #
- Fixed an issue in
ScrollableGestureDelegatorwhere it did not flexibly reference the last ScrollPosition when multiple were present.
1.4.6 #
- Refactored code to follow Dart formatting conventions.
1.5.0 #
- Added
NestedScrollConnectionPropagation.directionaloption and set it as the default behavior.
It now works flexibly and correctly in most scenarios without requiring developers to manually defineNestedScrollConnectionPropagationfor each case.
1.6.0 #
-
Added
NestedScrollPredicatetypedef for predicates that determine when all events from child widgets should be consumed and taken over in specific situations. -
Added
predicateoption toNestedScrollConnectionto support custom predicate logic for nested scroll event handling.
1.6.1 #
- Improved nested scroll handling by adding explicit priority sorting in directional propagation mode.
This ensures that widgets with
NestedScrollConnectionPropagation.deferToAncestorpropagation are always processed last, respecting the intended scroll event priority order.