divider function

Widget divider({
  1. double? width,
  2. double height = 0.6,
  3. Color color = Colors.grey,
  4. EdgeInsets? padding,
})

Implementation

Widget divider({double? width, double height = 0.6, Color color = Colors.grey, EdgeInsets? padding}) => Container(
      margin: padding,
      width: width ?? screenWidth,
      height: height,
      color: color,
    );