DimenData constructor
const
DimenData({
- required double width,
- required double height,
- required Size? assumedSize,
- required ConstraintDimen appbar,
- required ConstraintDimen bottom,
- required ConstraintDimen button,
- required ConstraintDimen image,
- required ConstraintDimen scaffold,
- required SizeDimen avatar,
- required SizeDimen corner,
- required SizeDimen divider,
- required SizeDimen fontSize,
- required SizeDimen icon,
- required SizeDimen indicator,
- required SizeDimen logo,
- required SizeDimen margin,
- required SizeDimen padding,
- required SizeDimen size,
- required SizeDimen space,
- required SizeDimen stroke,
- 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);