#✅ - Amplify Authenticator UI library Flutter

1 messages · Page 1 of 1 (latest)

balmy elk
#

Hi guys, I'm working on a flutter mobile application and I started using the built-in amplify authenticator UI widgets and I'm trying to find a way to change the UI design of the SignInButton(), SignInFormField() without editing the package. If anyone know a work around please let me know. Thanks in advance!

bleak loom
balmy elk
# bleak loom Hi <@452995109550555146>, we have some docs available on customization including...

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

Amplify UI

Override and customize your Authenticator.

#

This is what the SignInButton() UI looks like

bleak loom
#

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.

balmy elk
bleak loom
#

Ah, I understand now 🙂 thanks for your patience.

balmy elk
#

np, thank you.

bleak loom
balmy elk
#

yeah, sure. np

balmy elk
#

@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.

bleak loom
#

Thanks @balmy elk, I can see the issue. Let's continue this discussion in the GitHub thread and get to the bottom of this.

heady sailBOT
#

✅ - Amplify Authenticator UI library Flutter