Created
August 24, 2018 13:44
-
-
Save letsar/0c5712d1c43959f617acc333ce5e0263 to your computer and use it in GitHub Desktop.
slidable_in_depth_05
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For the main actions we have to reverse the order if we want the last item at the bottom of the stack. | |
int displayIndex = showActions ? count - index - 1 : index; | |
return ctx.createPositioned( | |
position: animations[index].value, | |
extent: actionExtent, | |
child: actionDelegate.build(context, displayIndex, | |
actionsMoveAnimation, SlidableRenderingMode.slide), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment