from static method

XDividerParams? from(
  1. XDivider widget,
  2. SSRBuildContext context
)

Implementation

static XDividerParams? from(XDivider widget, SSRBuildContext context) {
  return XDividerParams(
    height: widget.height.toExtent(isDimension: true),
    thickness: widget.thickness.toExtent(isDimension: true),
    indent: widget.indent.toExtent(isDimension: true),
    endIndent: widget.endIndent.toExtent(isDimension: true),
    color: widget.color?.toHubbleColor(),
  );
}