apply method
Merge two PinTheme into one
Implementation
PinTheme apply({required PinTheme theme}) {
return PinTheme(
width: this.width ?? theme.width,
height: this.height ?? theme.height,
textStyle: this.textStyle ?? theme.textStyle,
constraints: this.constraints ?? theme.constraints,
decoration: this.decoration ?? theme.decoration,
padding: this.padding ?? theme.padding,
margin: this.margin ?? theme.margin,
);
}