-
-
Save ijoschek/7c99b192f07a8bb58bc7e8613ad3abb3 to your computer and use it in GitHub Desktop.
flutter_qrreader_tut
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
//... | |
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