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
Future<User?> checkIfLoggedIn() async { | |
try { | |
_user = await _account.get(); | |
return _user; | |
} catch (e) { | |
return null; | |
} | |
} |
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
Padding( | |
padding: const EdgeInsets.all(16.0), | |
child: TextFormField( | |
decoration: InputDecoration( | |
labelText: "Name", | |
prefixIcon: Icon( | |
Icons.person, | |
), | |
border: OutlineInputBorder(), | |
), |
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
Padding( | |
padding: const EdgeInsets.all(16.0), | |
child: TextFormField(), | |
) |