buildDividerWidget method
Implementation
Widget buildDividerWidget() {
if (type != FxPaneType.divider) return SizedBox.shrink();
final style = dividerStyle ?? const FxPaneDividerStyle();
return Container(
padding: style.padding,
width: double.infinity,
margin: style.margin,
decoration: style.decoration ?? BoxDecoration(
color: style.color,
),
child: FxTextDivider(
text: title,
dashSpace: style.dashSpace,
dashWidth: style.dashWidth,
spacing: style.spacing,
strokeWidth: style.strokeWidth,
color: style.color,
align: style.align,
style: style.textStyle,
),
);
}