copy method
PreConfig
copy({
- EdgeInsetsGeometry? padding,
- Decoration? decoration,
- EdgeInsetsGeometry? margin,
- TextStyle? textStyle,
- TextStyle? styleNotMatched,
- CodeWrapper? wrapper,
- Map<
String, TextStyle> ? theme, - String? language,
copy by other params
Implementation
PreConfig copy({
EdgeInsetsGeometry? padding,
Decoration? decoration,
EdgeInsetsGeometry? margin,
TextStyle? textStyle,
TextStyle? styleNotMatched,
CodeWrapper? wrapper,
Map<String, TextStyle>? theme,
String? language,
}) {
return PreConfig(
padding: padding ?? this.padding,
decoration: decoration ?? this.decoration,
margin: margin ?? this.margin,
textStyle: textStyle ?? this.textStyle,
styleNotMatched: styleNotMatched ?? this.styleNotMatched,
wrapper: wrapper ?? this.wrapper,
theme: theme ?? this.theme,
language: language ?? this.language,
);
}