passwordFormField static method

Widget passwordFormField({
  1. String? label,
  2. String? hint,
  3. Icon? icon,
  4. EdgeInsets padding = paddingStepOne,
  5. EdgeInsets margin = paddingStepOne,
})

Implementation

static Widget passwordFormField(
        {String? label,
        String? hint,
        Icon? icon,
        EdgeInsets padding = paddingStepOne,
        EdgeInsets margin = paddingStepOne}) =>
    textFormField(
        label: label,
        controller: _passwordController,
        obscureText: true,
        icon: Neumorphism.icon(Icons.password));