2024-10-02 19:13:38 +04:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
class CardData {
|
|
|
|
final String text;
|
|
|
|
final String descriptionText;
|
|
|
|
final IconData icon;
|
|
|
|
final String? imageUrl;
|
2024-11-18 12:35:29 +04:00
|
|
|
final String? id;
|
2024-10-02 19:13:38 +04:00
|
|
|
|
|
|
|
CardData(
|
2024-11-18 12:35:29 +04:00
|
|
|
this.text, {
|
|
|
|
required this.descriptionText,
|
|
|
|
this.icon = Icons.cake,
|
|
|
|
this.imageUrl,
|
|
|
|
this.id,
|
|
|
|
});
|
|
|
|
}
|