pmu/lib/models/CardData.dart

19 lines
490 B
Dart
Raw Normal View History

2024-11-27 12:33:41 +04:00
import 'dart:typed_data';
2024-11-26 16:28:42 +04:00
import 'package:flutter/material.dart';
class CardData {
final String text;
final String descriptionText;
final Color Backgroundcolor;
final String? imageUrl;
2024-11-27 12:33:41 +04:00
final String? bytes;
2024-11-26 16:28:42 +04:00
CardData(
this.text, {
required this.descriptionText,
this.Backgroundcolor = const Color.fromARGB(70, 173, 216, 230),
2024-11-27 12:33:41 +04:00
this.imageUrl = 'https://simbircity.ru/wp-content/uploads/2020/10/1IMG_36222.jpg',
this.bytes = null,
2024-11-26 16:28:42 +04:00
});
}