Open hyukjin0419 opened 5 months ago
TextField( decoration: const InputDecoration( filled: true, labelText: 'Username', ), ), // spacer
const SizedBox(height: 120.0), // [Password] TextField( decoration: const InputDecoration( filled: true, labelText: 'Password', ), obscureText: true, ),
Maybe that code should be right here. It is correct in github, but not in the code that presented in this -> https://codelabs.developers.google.com/codelabs/mdc-101-flutter#3
TextField( decoration: const InputDecoration( filled: true, labelText: 'Username', ), ), // spacer
Here the height should be 12.0, not 120.0
const SizedBox(height: 120.0), // [Password] TextField( decoration: const InputDecoration( filled: true, labelText: 'Password', ), obscureText: true, ),