You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: In Step 5 under "Use the new text themes," the instruction mentions adding themes to _buildShrineTheme after an error, but there is no error present.
Resolution: Update the instruction to remove the reference to an error since none exists.
2. Shrink the text
Issue: The code in Step 5 uses a deprecated text style: style: theme.textTheme.button. This generates a warning stating that 'button' is deprecated and should be replaced with 'labelLarge'.
Resolution: Update the code to replace textTheme.button with textTheme.labelLarge to avoid the deprecated warning.
3. Theme the text fields
Issue: In the images shown for the login page under "Theme the text fields," there is spacing present that was not explicitly instructed in earlier tutorials (1-3), causing confusion for beginners.
Resolution: Clarify or provide instructions on the source code regarding the spacing to ensure consistency and prevent confusion for beginners.
The text was updated successfully, but these errors were encountered:
Issues Identified and Resolutions:
1. Use the new text themes
_buildShrineTheme
after an error, but there is no error present.2. Shrink the text
style: theme.textTheme.button
. This generates a warning stating that 'button' is deprecated and should be replaced with 'labelLarge'.textTheme.button
withtextTheme.labelLarge
to avoid the deprecated warning.3. Theme the text fields
The text was updated successfully, but these errors were encountered: