copyWith method
PinTheme
copyWith({
- double? width,
- double? height,
- TextStyle? textStyle,
- BoxConstraints? constraints,
- BoxDecoration? decoration,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
Create a new PinTheme from the current instance
Implementation
PinTheme copyWith({
double? width,
double? height,
TextStyle? textStyle,
BoxConstraints? constraints,
BoxDecoration? decoration,
EdgeInsetsGeometry? padding,
EdgeInsetsGeometry? margin,
}) {
return PinTheme(
width: width ?? this.width,
height: height ?? this.height,
textStyle: textStyle ?? this.textStyle,
constraints: constraints ?? this.constraints,
decoration: decoration ?? this.decoration,
padding: padding ?? this.padding,
margin: margin ?? this.margin,
);
}