olshab
a676d454ca
changed Cupertino search bar to Material UI 3 changed baseline color and card colors implemented fetching crypto data from public API (untested)
18 lines
333 B
Dart
18 lines
333 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class CardData {
|
|
final String id;
|
|
final String title;
|
|
final String? imageUrl;
|
|
final String currentPrice;
|
|
final String priceChange;
|
|
|
|
CardData({
|
|
required this.id,
|
|
required this.title,
|
|
this.imageUrl,
|
|
required this.currentPrice,
|
|
required this.priceChange,
|
|
});
|
|
}
|