ArcaneLoginCard class

Login card component

Provides a complete login UI with email/password form and social sign-in buttons.

ArcaneLoginCard(
  methods: [AuthMethod.email, AuthMethod.github, AuthMethod.google],
  signupRoute: '/signup',
  forgotPasswordRoute: '/forgot-password',
  header: Logo(),
)
Inheritance

Constructors

ArcaneLoginCard({List methods = const <AuthMethod>[AuthMethod.email, AuthMethod.github, AuthMethod.google], Component? header, String? signupRoute, String? forgotPasswordRoute, dynamic passwordPolicy, void onSuccess()?, String maxWidth = '400px', Key? key})
const

Properties

forgotPasswordRoute String?
Route for forgot password link
final
hashCode int
The hash code for this object.
no setterinherited
Header component (logo, title, etc.)
final
key Key?
Controls how one component replaces another component in the tree.
finalinherited
maxWidth String
Max width of the card
final
methods List
Authentication methods to display
final
onSuccess → void Function()?
Callback when login succeeds
final
passwordPolicy → dynamic
Password validation policy
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signupRoute String?
Route for signup link
final

Methods

createElement() Element
Creates a StatefulElement to manage this component's location in the tree.
inherited
createState() State<ArcaneLoginCard>
Creates the mutable state for this component at a given location in the tree.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited