Created
August 5, 2018 01:47
-
-
Save nucklearproject/19cdacdece22628a14ee3f8aaec56b8a to your computer and use it in GitHub Desktop.
Flutter obtener ID
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
Container seleccionBlock(double rotacion, double margin, int contador) { | |
return Container( | |
margin: EdgeInsets.only(top: margin), | |
child: Transform.rotate( | |
angle: rotacion, | |
child: Container( | |
width: 110.0, | |
height: 196.0, | |
// padding: const EdgeInsets.all(4.0), | |
decoration: BoxDecoration( | |
color: const Color.fromRGBO(210, 107, 107, 1.0), | |
border: new Border.all(color: Colors.black54) | |
), | |
child: new Image(image: new AssetImage('assets/'+ aleatorio(contador)+'.jpg')), | |
), | |
)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment