import 'package:flutter/material.dart';

import 'package:pshared/models/payment/type.dart';


class PaymentDetailsSection extends StatelessWidget {
  final bool isFormVisible;
  final VoidCallback? onToggle;
  final PaymentType selectedType;
  final Object? data;
  final bool isEditable;

  const PaymentDetailsSection({
    super.key,
    required this.isFormVisible,
    this.onToggle,
    required this.selectedType,
    required this.data,
    required this.isEditable,
  });

  @override
  Widget build(BuildContext context) {

    return PaymentDetailsSection(
      isFormVisible: isFormVisible,
      onToggle: onToggle,
      selectedType: selectedType,
      data: data,
      isEditable: isEditable,
    );
  }
}