copyWith method
Creates a copy of this indent guide but with the given fields replaced with the new values.
Implementation
IndentGuide copyWith({
double? indent,
EdgeInsetsGeometry? padding,
int? maxLevel,
}) {
return IndentGuide(
indent: indent ?? this.indent,
padding: padding ?? this.padding,
maxLevel: maxLevel ?? this.maxLevel,
);
}