Last active
March 24, 2019 21:36
-
-
Save redbluenat/88c628655029ded3d83119257feee920 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 build(BuildContext context) { | |
return Scaffold( | |
key: scaffoldKey, | |
body: Center( | |
child: SingleChildScrollView( | |
padding: const EdgeInsets.all(8.0), | |
child: Column( | |
children: <Widget>[ | |
Center( | |
child: showCamera | |
? Container( | |
height: 290, | |
child: Padding( | |
padding: const EdgeInsets.only(top: 5), | |
child: Center(child: cameraPreviewWidget()), | |
), | |
) | |
: Column( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: <Widget>[ | |
imagePreviewWidget(), | |
editCaptureControlRowWidget(), | |
]), | |
), | |
showCamera ? captureControlRowWidget() : Container(), | |
cameraOptionsWidget(), | |
beerInfoInputsWidget() | |
], | |
), | |
))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment