StatItemView constructor Null safety

StatItemView(
  1. {Key? key,
  2. String action = "포유",
  3. double? seconds = 0,
  4. double? prevSeconds = 0,
  5. bool isReverse = false,
  6. bool isIntValue = false,
  7. required DateTime selectedDate,
  8. String suffix = "회",
  9. bool showDifference = true}
)

Implementation

StatItemView({
  Key? key,
  this.action = "포유",
  this.seconds = 0,
  this.prevSeconds = 0,
  this.isReverse = false,
  this.isIntValue = false,
  required this.selectedDate,
  this.suffix = "회",
  this.showDifference = true,
}) : super(key: key);