build method

Widget build(
  1. BuildContext context,
  2. Axis direction
)

Implementation

Widget build(BuildContext context, Axis direction) {
  return KeyedSubtree(
    key: key,
    child: Divider(
      key: itemKey,
      direction: direction,
      style: DividerThemeData(
        thickness: thickness,
        decoration: color != null ? BoxDecoration(color: color) : null,
        verticalMargin: const EdgeInsets.symmetric(
          horizontal: 8.0,
          vertical: 10.0,
        ),
        horizontalMargin: const EdgeInsets.symmetric(
          horizontal: 8.0,
          vertical: 10.0,
        ),
      ),
    ),
  );
}