We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The TextTheme constructors from material design 2014 seems depreciated and new constructors could be used. Check them here : https://api.flutter.dev/flutter/material/TextTheme-class.html
bodyText1 is expected instead of body1
bodyText1
body1
textTheme: TextTheme(body1: TextStyle(color: Colors.white)
needs to be changed from
textTheme: TextTheme(bodyText2: TextStyle(color: Colors.white)
Thanks. Not a big issue. Just to keep the course updated. I thank Angela for making me looking up the docs and fixing the minor bugs.
The text was updated successfully, but these errors were encountered:
Note that body1 becomes bodyText2 and body2 becomes bodyText2. I missed that at first.
Sorry, something went wrong.
Yup, I missed it too. The code should read: textTheme: TextTheme( bodyText2: TextStyle(color: Colors.white), ),
textTheme: TextTheme( bodyText2: TextStyle(color: Colors.white), ),
No branches or pull requests
The TextTheme constructors from material design 2014 seems depreciated and new constructors could be used. Check them here : https://api.flutter.dev/flutter/material/TextTheme-class.html
bodyText1
is expected instead ofbody1
textTheme: TextTheme(body1: TextStyle(color: Colors.white)
needs to be changed from
textTheme: TextTheme(bodyText2: TextStyle(color: Colors.white)
Thanks.
Not a big issue.
Just to keep the course updated.
I thank Angela for making me looking up the docs and fixing the minor bugs.
The text was updated successfully, but these errors were encountered: