Skip to content

Instantly share code, notes, and snippets.

@ijoschek
Last active December 5, 2018 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ijoschek/1b53ad8bcd5cbc6313452bb39ec255ed to your computer and use it in GitHub Desktop.
Save ijoschek/1b53ad8bcd5cbc6313452bb39ec255ed to your computer and use it in GitHub Desktop.
flutter_auth_tut
class _Home extends State<StatefulWidget> {
//...
@override
Widget build(BuildContext context) {
var cpbOpacity;
isLoggingIn ? cpbOpacity = 1.0 : cpbOpacity = 0.0;
return Scaffold(
//...
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment