loginFormItem method
customized login form item with default padding
Implementation
Widget loginFormItem({required Widget child, double? verticalPadding}) {
return Padding(
padding:
EdgeInsets.symmetric(horizontal: 20, vertical: verticalPadding ?? 20),
child: Container(
constraints: const BoxConstraints(maxWidth: 370),
child: child,
),
);
}