test static method

BoxDecoration test({
  1. double? radiusSize,
  2. Color? colorBackground,
  3. double? widthLine,
  4. Color? colorLine,
})

Implementation

static BoxDecoration test( {
  double? radiusSize ,
  Color? colorBackground,
  double? widthLine ,
  Color? colorLine,
}) {

  //default
  radiusSize ??= DSDimen.ds_size_corner_level_2;
  colorBackground ??= DSColor.cardview_background_color;
  colorLine ??= DSColor.cardview_boarderLine;

  //width
  widthLine ??= 1;


  return BaseBoarderHelper.top_line(
      radiusSize: radiusSize,
      colorBackground:  colorBackground,
      widthLine: widthLine,
      colorLine: colorLine);
}