CssSpacing.only constructor

CssSpacing.only({
  1. required CssLength top,
  2. required CssLength horizontal,
  3. required CssLength bottom,
})

Three-value shorthand (top, horizontal, bottom).

Example: CssSpacing.only(top: CssLength.px(10), horizontal: CssLength.px(20), bottom: CssLength.px(30))10px 20px 30px

Implementation

factory CssSpacing.only({
  required CssLength top,
  required CssLength horizontal,
  required CssLength bottom,
}) = _CssSpacingThree;