2024-10-03 01:00:26 +04:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
class CardData {
|
2024-12-15 23:23:00 +04:00
|
|
|
final String id;
|
2024-10-03 01:00:26 +04:00
|
|
|
final String title;
|
|
|
|
final String? imageUrl;
|
2024-12-15 23:23:00 +04:00
|
|
|
final String currentPrice;
|
|
|
|
final String priceChange;
|
2024-10-03 01:00:26 +04:00
|
|
|
|
|
|
|
CardData({
|
2024-12-15 23:23:00 +04:00
|
|
|
required this.id,
|
2024-10-03 01:00:26 +04:00
|
|
|
required this.title,
|
|
|
|
this.imageUrl,
|
2024-12-15 23:23:00 +04:00
|
|
|
required this.currentPrice,
|
|
|
|
required this.priceChange,
|
2024-10-03 01:00:26 +04:00
|
|
|
});
|
|
|
|
}
|