copyWith method

  1. @override
TableViewHorizontalDividerStyle copyWith({
  1. Color? color,
  2. double? thickness,
  3. double? space,
  4. double? indent,
  5. double? endIndent,
})
override

Creates a copy of this object with the given fields replaced with the new values.

Implementation

@override
TableViewHorizontalDividerStyle copyWith({
  Color? color,
  double? thickness,
  double? space,
  double? indent,
  double? endIndent,
}) =>
    TableViewHorizontalDividerStyle(
      enabled: enabled,
      color: color ?? this.color,
      thickness: thickness ?? this.thickness,
      space: space ?? this.space,
      indent: indent ?? this.indent,
      endIndent: endIndent ?? this.endIndent,
    );