SpaceViewModel constructor
SpaceViewModel({
- required double moonRotation,
- required double moonSize,
- required double sunRotation,
- required double sunSize,
- required Offset sunOffset,
- required double sunBaseRadius,
- required Offset earthOffset,
- required double earthSize,
- required Offset moonOffset,
- required double backgroundRotation,
- required Offset centerOffset,
- required double backgroundSize,
- required double earthRotation,
Construct a Space Clock View Model
Implementation
SpaceViewModel({
required this.moonRotation,
required this.moonSize,
required this.sunRotation,
required this.sunSize,
required this.sunOffset,
required this.sunBaseRadius,
required this.earthOffset,
required this.earthSize,
required this.moonOffset,
required this.backgroundRotation,
required this.centerOffset,
required this.backgroundSize,
required this.earthRotation,
});