getTopDivider method

Widget? getTopDivider(
  1. BuildContext context,
  2. double width
)

Implementation

Widget? getTopDivider(BuildContext context, double width) {
  final theme = TUITheme.of(context);

  return SizedBox(
    height: 4,
    width: width,
    child: Center(
      child: Container(
        height: 4,
        width: 68,
        decoration: BoxDecoration(
            color: theme.colors.surfaceVariant,
            borderRadius: const BorderRadius.all(
              Radius.circular(4),
            )),
      ),
    ),
  );
}