Created
November 16, 2020 13:09
-
-
Save followthemoney1/44efd39216ba8aec5176a5da853ff04e to your computer and use it in GitHub Desktop.
medium
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
List<Widget> childerCards() { | |
List<Widget> cardsMatrixWidgets = []; | |
suggestionMatrix.entries.forEach((columns) { | |
int iColumn = columns.key; | |
List<SuggestionItem> rowsList = columns.value; | |
rowsList.asMap().entries.forEach((rows) { | |
///get all widgets | |
cardsMatrixWidgets.add(AnimatedPositioned.fromRect( | |
duration: Duration(milliseconds: widget.stackAnimatedDuration), | |
child: item(rows.value), | |
rect: currentRow.rect, | |
)); | |
}); | |
}); | |
return cardsMatrixWidgets; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment