PlaceCard constructor

const PlaceCard(
  1. {Key? key,
  2. required String city,
  3. required double latitude,
  4. required double longitude,
  5. required VoidCallback onTap}
)

Implementation

const PlaceCard({
  super.key,
  required this.city,
  required this.latitude,
  required this.longitude,
  required this.onTap,
});