commBar static method

Widget commBar({
  1. double? width,
  2. double? height,
  3. Color? color,
  4. EdgeInsetsGeometry? margin,
  5. EdgeInsetsGeometry? padding,
  6. double? radius,
  7. bool isDash = false,
  8. bool isHor = true,
})

Implementation

static Widget commBar({
  double? width,
  double? height,
  Color? color,
  EdgeInsetsGeometry? margin,
  EdgeInsetsGeometry? padding,
  double? radius,
  bool isDash:false,
  bool isHor:true
}){
  return
  Container(
    width: width??PxUtils.screenWidth,
    height: height??PxUtils.px_1,
    margin: margin,
    padding: padding,
    decoration: BoxDecoration(
        color: color??ColorUtils.color_f2f2f2,
        borderRadius: BorderRadius.circular(radius??PxUtils.px_0)
    ),
  );
}