import 'package:design_system/design_system.dart';
import 'package:flutter/material.dart';

class SignUpPasswordScreen extends StatelessWidget {
  final bool isPasswordVisible;
  final TextEditingController passwordTextFieldController;
  final TextEditingController repeatPasswordTextFieldController;
  const SignUpPasswordScreen({
    super.key,
    required this.isPasswordVisible,
    required this.passwordTextFieldController,
    required this.repeatPasswordTextFieldController,
  });

  @override
  Widget build(BuildContext context) {
    return Column(
      spacing: 24,
      children: [
        CustomTextField(
          showPassword: isPasswordVisible,
          label: "Contraseña",
          hint: "********",
          controller: passwordTextFieldController,
        ),
        CustomTextField(
          showPassword: isPasswordVisible,
          label: "Repetir contraseña",
          hint: "*******",
          controller: repeatPasswordTextFieldController,
        ),
      ],
    );
  }
}
