- Migrated to null safety.
- Fixed some strange
MorpheusTabView
behaviour.
MorpheusTabView
will only ignore a new child if it has the same key as the previous child.
- Fixed issue where popping a
MorpheusPageRoute
that uses aparentKey
would throw an exception.
MorpheusTabView
only transitions when a new child is provided.
- Fixed change in
MorpheusPageRoute
default transition.
- Improved
MorpheusPageRoute
default transition.
- Added documentation for
MorpheusPageRoute
transitions.
- Improved
MorpheusPageRoute
bidirectional transition when there is no transition widget.
- Reverted some earlier "fixes".
- Fixed a rendering error caused by the last fix :)
- Fixed a bug where
MorpheusPageRoute
couldn't re-use the existingRenderBox
and would throw an exception when popping a layer in the navigation stack.
- Added a new 'default' transition for situations where no
parentKey
has been provided (This wasn't possible before). - Added support for transitioning from
Container
andFloatingActionButton
widgets.
- Changed the default
MorpheusPageRoute
transition duration from 500ms to 450ms.
- Improved documentation for
MorpheusPageRoute
. - Added the
MorpheusRouteArguments
class that can be passed as the arguments when pushing a named route.
- Changed the example to use named routes.
- Added
scaleChild
toggle for disabling the scale animation of aMorpheusPageRoute
transition.
MorpheusPageRoute
transitions scrim transitions has been changed so that it begins when the 'material' starts moving in bidirectional transitions.
- Changed all
MorpheusPageRoute
transitions so that they now should be more accurate to the Material Design guidelines. - Bidirectional
MorpheusPageRoute
transitions scales its child screen in the animation.
- Removed the
shapeBorderTween
parameter fromMorpheusPageRoute
. It has been replaced with aborderRadius
parameter. - Removed the
elevation
parameter fromMorpheusPageRoute
.
- Bidirectional
MorpheusPageRoute
transitions are now horizontally centered.
- Added
RouteSettings
toMorpheusPageRoute
.
- Changed
MorpheusPageRoute
's bidirectional transition so that the child screen is clipped instead of begin resized when animating.
- Changed
MorpheusPageRoute
's vertical transition so that the child screen isn't resized when animating.
- Added new tweens dedicated to vertical transitions in
MorpheusPageRoute
. - Added
transitionToChild
property toMorpheusPageRoute
. - Added a brand new example of how to use the package.
- Changed
MorpheusPageRoute
's defaulttransitionDuration
from550
to500
.
- Changed scrim animation interval.
- Added some more documentation for
MorpheusPageRoute
.
- Changed
MorpheusPageRoute
's elevation animation curves.
- Improved
MorpheusTabView
opacity and scale tweens. - Improved example.
- Added assertions in
MorpheusPageRoute
.
- Changed
MorpheusPageRoute
's defaulttransitionDuration
.
- Removed redundant
SizeTransition
fromMorpheusPageRoute.verticalTransitionsBuilder
.
- Changed reverse curves in
MorpheusPageRoute
.
- Small tweaks to
MorpheusPageRoute
transitions.
- Fixed
MorpheusPageRoute
transition element not clipping the child screen.
- Added
transitionColor
parameter toMorpheusPageRoute
that lets you control the color of the transition element. MorpheusPageRoute
can now be typed (e.g.final Model model = await Navigator.of(context).push(MorpheusPageRoute(...))
).
- Added
shapeBorderTween
parameter toMorpheusPageRoute
that lets you control the shape of the child screen. - (Under the hood) Split
MorpheusPageRoute.buildTransitions
into two seperate transitions, one specifically for vertical-only transitions, and another that's not as fancy, but is more consistent across different sizes and positions.
MorpheusPageRoute
'soffset
parameter.
- Added GIF examples.
- Fixed exception where
findRenderObject
was being called on null.
- Changed
MorpheusPageRoute
'schild
parameter to aBuilder
.