32 lines
559 B
Dart
32 lines
559 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class WheelSection {
|
|
final Color color;
|
|
final IconData icon;
|
|
final String prize;
|
|
final int value;
|
|
|
|
WheelSection({
|
|
required this.color,
|
|
required this.icon,
|
|
required this.prize,
|
|
required this.value,
|
|
});
|
|
}
|
|
|
|
class PrizeHistory {
|
|
final String prize;
|
|
final DateTime dateTime;
|
|
final int value;
|
|
final Color color;
|
|
final IconData icon;
|
|
|
|
PrizeHistory({
|
|
required this.prize,
|
|
required this.dateTime,
|
|
required this.value,
|
|
required this.color,
|
|
required this.icon,
|
|
});
|
|
}
|