UserPreferences constructor

const UserPreferences({
  1. bool? dark,
  2. bool? transp,
  3. String? bgImg,
  4. bool? is3d,
  5. Theme? theme,
  6. PieceSet? pieceSet,
  7. Theme3d? theme3d,
  8. PieceSet3d? pieceSet3d,
  9. String? soundSet,
  10. int? blindfold,
  11. int? autoQueen,
  12. int? autoThreefold,
  13. int? takeback,
  14. int? moretime,
  15. int? clockTenths,
  16. bool? clockBar,
  17. bool? clockSound,
  18. bool? premove,
  19. int? animation,
  20. bool? captured,
  21. bool? follow,
  22. bool? highlight,
  23. bool? destination,
  24. int? coords,
  25. int? replay,
  26. int? challenge,
  27. int? message,
  28. int? coordColor,
  29. int? submitMove,
  30. int? confirmResign,
  31. int? insightShare,
  32. int? keyboardMove,
  33. int? zen,
  34. int? moveEvent,
  35. int? rookCastle,
  36. String? language,
})

Implementation

const factory UserPreferences({
  bool? dark,
  bool? transp,
  String? bgImg,
  bool? is3d,
  Theme? theme,
  PieceSet? pieceSet,
  Theme3d? theme3d,
  PieceSet3d? pieceSet3d,
  String? soundSet,
  int? blindfold,
  int? autoQueen,
  int? autoThreefold,
  int? takeback,
  int? moretime,
  int? clockTenths,
  bool? clockBar,
  bool? clockSound,
  bool? premove,
  int? animation,
  bool? captured,
  bool? follow,
  bool? highlight,
  bool? destination,
  int? coords,
  int? replay,
  int? challenge,
  int? message,
  int? coordColor,
  int? submitMove,
  int? confirmResign,
  int? insightShare,
  int? keyboardMove,
  int? zen,
  int? moveEvent,
  int? rookCastle,
  String? language,
}) = _UserPreferences;