SpaceViewModel constructor

SpaceViewModel({
  1. required double moonRotation,
  2. required double moonSize,
  3. required double sunRotation,
  4. required double sunSize,
  5. required Offset sunOffset,
  6. required double sunBaseRadius,
  7. required Offset earthOffset,
  8. required double earthSize,
  9. required Offset moonOffset,
  10. required double backgroundRotation,
  11. required Offset centerOffset,
  12. required double backgroundSize,
  13. 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,
});