2024-10-02 16:37:43 +04:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
class CardData {
|
|
|
|
final String text;
|
|
|
|
final String descriptionText;
|
|
|
|
final IconData icon;
|
|
|
|
final String? imageUrl;
|
2024-10-16 23:18:15 +04:00
|
|
|
final String? id;
|
2024-10-02 16:37:43 +04:00
|
|
|
|
|
|
|
CardData(
|
2024-10-16 23:18:15 +04:00
|
|
|
this.text, {
|
|
|
|
required this.descriptionText,
|
|
|
|
this.icon = Icons.catching_pokemon,
|
|
|
|
this.imageUrl,
|
|
|
|
this.id,
|
|
|
|
});
|
|
|
|
}
|