MUISignUp Card
A sign-up card with OAuth support provided by ModularUI.
Properties
emailController
: TextEditingController - Text Editing Controller for email.passwordController
: TextEditingController - Text Editing Controller for password.confirmPasswordController
: TextEditingController - Text Editing Controller for confirming password.onSignUpPressed
: Future Function() - Future function to be executed on sign-up. Must be an awaited function.onLogInNowPressed
: VoidCallback - Callback function to be executed when "Login Now" is clicked.bgColor
: Color - Background color of the card, default:Colors.black
.accentColor
: Color - Accent color of the card, contrasting withbgColor
, default:Colors.white
.borderColor
: Color - Border color for the card, default:Colors.grey
.borderWidth
: double - Border width for the card, default:1.5
.borderRadius
: double - Border radius for the card, default:12
.maxWidth
: double - Maximum width of the card, default:430
. Responsive to screen size.authButtons
: List - List of Flutter Widgets or ModularUI Widgets to be used as authentication buttons.emailController
: TextEditingController - Text Editing Controller for email.passwordController
: TextEditingController - Text Editing Controller for password.confirmPasswordController
: TextEditingController - Text Editing Controller for confirming password.
Example Usage
Notes
Provides a customizable and responsive sign-up card with OAuth support.
Customize appearance and layout using the provided properties.
Supports additional authentication buttons.
Ensures that the entered password and confirmed password match before invoking the sign-up function.
Last updated