18 lines
313 B
Dart
18 lines
313 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.cake,
|
|
this.imageUrl,
|
|
this.id,
|
|
});
|
|
}
|