PinTheme copyBorderWith({required Border border}) { assert(decoration != null); return copyWith( decoration: decoration?.copyWith(border: border), ); }