AddressCard constructor

const AddressCard({
  1. Key? key,
  2. required String label,
  3. required String fullAddress,
  4. required String phoneNumber,
  5. bool isDefault = false,
  6. VoidCallback? onEdit,
  7. VoidCallback? onDelete,
  8. VoidCallback? onTap,
})

Implementation

const AddressCard({
  super.key,
  required this.label,
  required this.fullAddress,
  required this.phoneNumber,
  this.isDefault = false,
  this.onEdit,
  this.onDelete,
  this.onTap,
});