Skip to content

Instantly share code, notes, and snippets.

@BoshiLee
Created December 12, 2019 08:13
Show Gist options
  • Save BoshiLee/bdf86b9ac82ee484ebd23f43b330b947 to your computer and use it in GitHub Desktop.
Save BoshiLee/bdf86b9ac82ee484ebd23f43b330b947 to your computer and use it in GitHub Desktop.
class StartTakePictureScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Camera Example'),
),
body: Center(
child: RaisedButton(
child: Text('Take A Picture'),
onPressed: () {
this.pushToCamera(context);
},
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment