18 lines
325 B
Dart
18 lines
325 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class CardData {
|
|
final String text;
|
|
final String descriptionText;
|
|
final IconData icon;
|
|
final String? imageUrl;
|
|
final String? id;
|
|
|
|
CardData(
|
|
this.text, {
|
|
required this.descriptionText,
|
|
this.icon = Icons.catching_pokemon,
|
|
this.imageUrl,
|
|
this.id,
|
|
});
|
|
}
|