lineViewWidget function

Widget lineViewWidget({
  1. Color? color,
  2. double width = 2000,
  3. double boarder = 0,
  4. double height = 1,
  5. double bottom = 0,
  6. double top = 0,
  7. bool horizontal = true,
})

Implementation

Widget lineViewWidget(
    {Color? color,
    double width = 2000,
    double boarder = 0,
    double height = 1,
    double bottom = 0,
    double top = 0,
    bool horizontal = true}) {
  return Container(
    margin: EdgeInsets.only(
        right: boarder, left: boarder, bottom: bottom, top: top),
    color: color ?? Colors.grey[300],
    width: horizontal ? width : 1,
    height: horizontal ? height : height,
  );
}