copyWith method

DividerThemeData copyWith(
  1. DividerThemeData? style
)

Implementation

DividerThemeData copyWith(DividerThemeData? style) {
  if (style == null) return this;
  return DividerThemeData(
    decoration: style.decoration ?? decoration,
    margin: style.margin ?? margin,
    thickness: style.thickness ?? thickness,
  );
}