top_line static method

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

Implementation

static BoxDecoration top_line( {
  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 ??= 5;

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