leftRoundedBorder method

Widget leftRoundedBorder(
  1. BuildContext context, {
  2. Color backgroundColor = Colors.white,
})

Implementation

Widget leftRoundedBorder(BuildContext context,
    {Color backgroundColor = Colors.white}) {
  return ClipRRect(
    borderRadius: BorderRadius.circular(Dimens.roundCornerRadius),
    child: Container(
      padding: EdgeInsets.only(
        left: 26.w,
        top: 14.h,
        right: 21.w,
        bottom: 12.h,
      ),
      decoration: BoxDecoration(
        color: backgroundColor,
        border: Border(
          left: BorderSide(
            color: LightColors.defaultPageBorderColor,
            width: 2.w,
          ),
        ),
      ),
      child: this,
    ),
  );
}