Skip to content

Instantly share code, notes, and snippets.

@ijoschek ijoschek/.\lib\main.dart Secret
Created Aug 25, 2019

Embed
What would you like to do?
flutter_qrreader_tut
//...
class _MyHomePageState extends State<MyHomePage> {
//...
_qrCallback(String code) {
setState(() {
_camState = false;
_qrInfo = code;
});
}
_scanCode() {
setState(() {
_camState = true;
});
}
//...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.