copyWith method
- @useResult
- FWidgetStateMap<
IconThemeData> ? iconStyle, - EdgeInsetsGeometry? padding,
Returns a copy of this FButtonIconContentStyle with the given properties replaced.
Consider using the CLI to generate a style.
Parameters
- FButtonIconContentStyle.iconStyle - The icon's style.
- FButtonIconContentStyle.padding - The padding.
Implementation
@useResult
FButtonIconContentStyle copyWith({FWidgetStateMap<IconThemeData>? iconStyle, EdgeInsetsGeometry? padding}) =>
FButtonIconContentStyle(iconStyle: iconStyle ?? this.iconStyle, padding: padding ?? this.padding);