copyWith method
MacosTooltipThemeData
copyWith({
- Decoration? decoration,
- double? height,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- bool? preferBelow,
- Duration? showDuration,
- TextStyle? textStyle,
- double? verticalOffset,
- Duration? waitDuration,
Copies this MacosTooltipThemeData into another.
Implementation
MacosTooltipThemeData copyWith({
Decoration? decoration,
double? height,
EdgeInsetsGeometry? margin,
EdgeInsetsGeometry? padding,
bool? preferBelow,
Duration? showDuration,
TextStyle? textStyle,
double? verticalOffset,
Duration? waitDuration,
}) {
return MacosTooltipThemeData(
decoration: decoration ?? this.decoration,
height: height ?? this.height,
margin: margin ?? this.margin,
padding: padding ?? this.padding,
preferBelow: preferBelow ?? this.preferBelow,
showDuration: showDuration ?? this.showDuration,
textStyle: textStyle ?? this.textStyle,
verticalOffset: verticalOffset ?? this.verticalOffset,
waitDuration: waitDuration ?? this.waitDuration,
);
}