Created
March 24, 2019 21:39
-
-
Save redbluenat/cc7d691f48f8b2a7273f4c19883da315 to your computer and use it in GitHub Desktop.
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
Widget imagePreviewWidget() { | |
return Container( | |
child: Padding( | |
padding: const EdgeInsets.only(top: 10), | |
child: Align( | |
alignment: Alignment.topCenter, | |
child: imagePath == null | |
? null | |
: SizedBox( | |
child: Image.file(File(imagePath)), | |
height: 290.0, | |
), | |
), | |
)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment