April 2020
Intermediate to advanced
380 pages
9h 24m
English
Since we are more interested in the authentication part here, the home screen, that is, the screen where the user is directed to after a successful sign-in, should be pretty simple. It will just contain some text and an option to log out. As we have done for all the previous screens and widgets, we begin by creating a home_screen.dart file and a stateful HomeScreen widget.
The home screen will appear as follows:

The entire code here resides inside the overridden build() method:
@override Widget build(BuildContext context) { return new Scaffold( appBar: new AppBar( title: new Text('Firebase Authentication'), actions ...
Read now
Unlock full access