19 lines
490 B
Dart
19 lines
490 B
Dart
import 'dart:typed_data';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
class CardData {
|
|
final String text;
|
|
final String descriptionText;
|
|
final Color Backgroundcolor;
|
|
final String? imageUrl;
|
|
final String? bytes;
|
|
|
|
CardData(
|
|
this.text, {
|
|
required this.descriptionText,
|
|
this.Backgroundcolor = const Color.fromARGB(70, 173, 216, 230),
|
|
this.imageUrl = 'https://simbircity.ru/wp-content/uploads/2020/10/1IMG_36222.jpg',
|
|
this.bytes = null,
|
|
});
|
|
} |