horizontal static method

Widget horizontal({
  1. double? height,
  2. Color? color,
})

Implementation

static Widget horizontal({double? height, Color? color}) {
  return Container(
    height: height ?? 1,
    width: double.infinity,
    color: color ?? Colors.black,
  );
}