pmu_flutter/lec5/lib/domain/card.dart

16 lines
292 B
Dart
Raw Permalink Normal View History

2024-10-11 19:12:12 +04:00
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.ac_unit_outlined,
this.imageUrl,
});
}