Last active
September 1, 2018 08:31
-
-
Save letsar/2abad6fcd5f9ccfa8c3cdf24b2de957f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| const _kDuration = const Duration(milliseconds: 2000); | |
| const _kAnimInterval03 = const Interval(.00, .90); | |
| ... | |
| Widget _buildAnimation(BuildContext context, Widget child) { | |
| return Container( | |
| child: Container( | |
| width: _kActionSize * 4, | |
| height: 256.0, | |
| color: Colors.black87, | |
| child: Center( | |
| child: Column( | |
| mainAxisAlignment: MainAxisAlignment.center, | |
| children: <Widget>[ | |
| _buildListTile(context, 0), | |
| SlideTransition( | |
| position: dxPositions[2], | |
| child: _buildWidget(context, 2), | |
| ), | |
| _buildListTile(context, 2), | |
| ], | |
| ), | |
| ), | |
| ), | |
| ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment