builder method

  1. @override
Widget builder(
  1. BuildContext context,
  2. UIWrapperDividerThemeData theme
)
override

Implementation

@override
Widget builder(BuildContext context, UIWrapperDividerThemeData theme) {
  return Container(
    color: theme.backgroundColor,
    child: Column(
      spacing: 4,
      children: [
        Container(
          height: 20,
          decoration: BoxDecoration(
            color: theme.foregroundColor,
            borderRadius: const BorderRadius.vertical(
              bottom: .circular(20),
            ),
          ),
        ),
        Container(
          height: 20,
          decoration: BoxDecoration(
            color: theme.foregroundColor,
            borderRadius: const BorderRadius.vertical(
              top: .circular(20),
            ),
          ),
        ),
      ],
    ),
  );
}