#✅ - Amplify Authenticator UI library Flutter
1 messages · Page 1 of 1 (latest)
Hi @balmy elk, we have some docs available on customization including theming (https://ui.docs.amplify.aws/flutter/theming) and customizing the layout (https://ui.docs.amplify.aws/flutter/connected-components/authenticator/customization#sign-up-fields). Please let me know if that helps!
Thanks for replying and yes I have looked at those. However, I'm trying to edit the UI for example the SignInButton() bar is blue by default and the text "Sign in" is white and I couldn't find a way to edit those fields so that it blends well with my app theme. This is the code I was working with by the way (https://ui.docs.amplify.aws/flutter/connected-components/authenticator/customization#full-ui-customization) you see that they are using prebuilt widgets. If I'm not mistaking I have to implement those buttons by myself to change the design
This is what the SignInButton() UI looks like
On the theming page, there's an example which shows how to turn the button red using Flutter's ThemeData class (https://ui.docs.amplify.aws/flutter/theming). Is that what you mean? The Authenticator's colors and design are all based on ThemeData so that it can easily match the theming of your app.
Yes that works if you are not using the authenticatorBuilder. However I'm customizing and adding a logo as the example in (https://ui.docs.amplify.aws/flutter/connected-components/authenticator/customization#full-ui-customization) using the authenticatorBuilder but when I add ThemData in the MaterialApp() doesn't effect the authentication theme at all. If that make sense 🙂
Ah, I understand now 🙂 thanks for your patience.
np, thank you.
I will need to look more into this to figure out for sure, but this potentially appears to be a bug. Would you be willing to fill out a GitHub issue while I investigate? https://github.com/aws-amplify/amplify-flutter/issues/new?assignees=&labels=&template=BUG-REPORT.yaml
yeah, sure. np
@bleak loom you see what I mean. We are kinda forced to have white or light color background because the SignFormField() won't be visible with darker background colors and can't access those textfields colors to change the color.
Thanks @balmy elk, I can see the issue. Let's continue this discussion in the GitHub thread and get to the bottom of this.
✅ - Amplify Authenticator UI library Flutter