loginFormItem method

Widget loginFormItem({
  1. required Widget child,
  2. double? verticalPadding,
})

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,
    ),
  );
}