DimenData constructor

const DimenData({
  1. required double width,
  2. required double height,
  3. required Size? assumedSize,
  4. required ConstraintDimen appbar,
  5. required ConstraintDimen bottom,
  6. required ConstraintDimen button,
  7. required ConstraintDimen image,
  8. required ConstraintDimen scaffold,
  9. required SizeDimen avatar,
  10. required SizeDimen corner,
  11. required SizeDimen divider,
  12. required SizeDimen fontSize,
  13. required SizeDimen icon,
  14. required SizeDimen indicator,
  15. required SizeDimen margin,
  16. required SizeDimen padding,
  17. required SizeDimen size,
  18. required SizeDimen space,
  19. required SizeDimen stroke,
  20. required WeightDimen fontWeight,
})

Implementation

const DimenData({
  required double width,
  required double height,
  required Size? assumedSize,
  // CONSTRAINT DIMENS
  required this.appbar,
  required this.bottom,
  required this.button,
  required this.image,
  required this.scaffold,
  // SIZE DIMENS
  required this.avatar,
  required this.corner,
  required this.divider,
  required this.fontSize,
  required this.icon,
  required this.indicator,
  required this.logo,
  required this.margin,
  required this.padding,
  required this.size,
  required this.space,
  required this.stroke,
  // WEIGHT DIMENS
  required this.fontWeight,
}) : super(width, height, assumedSize);