22 lines
441 B
Dart
22 lines
441 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class CardData {
|
|
final String text;
|
|
final IconData icon;
|
|
final String descriptionText;
|
|
final String locationText;
|
|
final String speciesText;
|
|
final String? imageUrl;
|
|
final int? id;
|
|
|
|
CardData(
|
|
this.text, {
|
|
this.icon = Icons.bookmark_border,
|
|
required this.descriptionText,
|
|
required this.locationText,
|
|
required this.speciesText,
|
|
this.imageUrl,
|
|
this.id,
|
|
});
|
|
}
|