Skip to content

Improve theming documentation for Authenticator Widget #3755

Open
@94Sip

Description

@94Sip

Description

The colors that the Authenticator renders are different between iPhone and iPad, and I'm not sure exactly what to change to make them identical.

With Vue, you have provided explicit elements to alter the look and feel, but with Flutter, it seems to be solely based on the Theme. So how do I get the Authenticator to render the same regardless of iPhone or iPad?

I have a Theme defined in my project and reference that Theme as a part of instantiating my MaterialApp, and I am using Material 3:

child: MaterialApp.router(theme: MyTheme.defaultTheme, builder: Authenticator.builder(), routerDelegate: routerDelegate, routeInformationParser: BeamerParser(), backButtonDispatcher: BeamerBackButtonDispatcher(delegate: routerDelegate,),),),

Here is how it renders on iPhone:

image

Here is how it renders on iPad:

image

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

I'm simply starting a debugging session using the xcode simulator, and choosing different devices (iPhone 14 Pro, and iPad Pro 4th generation).

Screenshots

No response

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.13.4

Amplify Flutter Version

1.4..1 (Authenticator)

Deployment Method

Amplify CLI

Schema

No response

Metadata

Metadata

Assignees

Labels

AuthenticatorIssues related to the Authenticator UI ComponentDocumentationImprovements or fixes to public documentation (docs.amplify.aws, pub.dev, readmes).feature-requestA request for a new feature or an enhancement to an existing API or category.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions