profileSetup static method
Implementation
static Widget profileSetup({
required Widget form,
String? title,
String? subtitle,
Widget? headerWidget,
Widget? footerWidget,
Gradient? backgroundGradient,
Widget? logoWidget,
double maxWidth = 500,
EdgeInsetsGeometry? padding,
}) {
return AtomicAuthTemplate(
title: title ?? 'Complete Profile',
subtitle: subtitle ?? 'Tell us more about yourself',
headerWidget: headerWidget,
footerWidget: footerWidget,
backgroundGradient: backgroundGradient ?? const LinearGradient(
colors: [
Color(0xFF8360c3),
Color(0xFF2ebf91),
],
begin: Alignment.topLeft,
end: Alignment.bottomRight,
),
logoWidget: logoWidget ?? const Icon(
Icons.account_circle,
size: 48,
color: Colors.white,
),
maxWidth: maxWidth,
padding: padding,
scrollable: true, // Profile forms are usually longer
child: form,
);
}