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
In login_view.dart _buildHeader function there is a RichText. It doesn't obey theming well enough to allow the font of the "Register" text button to match the font of the "Forgot password" text button. RichText needs to be replaced with Text.rich - then it works as expected and you can control the font in the top level theme like this textTheme: TextTheme(button:TextStyle(fontSize:16, color: Colors.blue ),
Steps to reproduce
Set the textTheme in the top level Theme as shown above and you will see that the "Register" text button has a different font size to the "Forgot password" text button.
Expected behavior
The text size of the two buttons should be the same
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.3, on Microsoft Windows [Version 10.0.22000.795], locale en-NZ)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.3)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.69.2)
[√] VS Code, 64-bit edition (version 1.69.2)
[√] Connected device (4 available)
[√] HTTP Host Availability
• No issues found!
Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Bug report
In login_view.dart _buildHeader function there is a RichText. It doesn't obey theming well enough to allow the font of the "Register" text button to match the font of the "Forgot password" text button. RichText needs to be replaced with Text.rich - then it works as expected and you can control the font in the top level theme like this
textTheme: TextTheme(button:TextStyle(fontSize:16, color: Colors.blue ),
Steps to reproduce
Set the textTheme in the top level Theme as shown above and you will see that the "Register" text button has a different font size to the "Forgot password" text button.
Expected behavior
The text size of the two buttons should be the same
Sample project
Code as here but with textTheme as shown above
https://github.com/firebase/flutterfire/tree/master/packages/flutterfire_ui
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: