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