commBar static method
Widget
commBar({
- double? width,
- double? height,
- Color? color,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- double? radius,
- bool isDash = false,
- 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)
),
);
}