codewithandrea_flutter_packages icon indicating copy to clipboard operation
codewithandrea_flutter_packages copied to clipboard

EmailPasswordSignInPage should use theme primary color for Sign In button.

Open pbozzay opened this issue 5 years ago • 0 comments

Currently the EmailPasswordSignInPage uses a FormSubmitButton for the Sign In button UI. However, this does not accept a custom color or a context (in order to use the theme primary color). As a result this widget is not usable when the color indigo does not fit the rest of the UI being presented.

It seems like it would be better to allow a context argument so that the UI can use the parent theme.

pbozzay avatar Oct 31 '20 17:10 pbozzay