copyWith method
- @useResult
- FWidgetStateMap<
IconThemeData> ? iconStyle, - EdgeInsetsGeometry? padding,
Returns a copy of this FButtonIconContentStyle with the given properties replaced.
Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.
iconStyle
The icon's style.
Supported states:
padding
The padding. Defaults to EdgeInsets.all(7.5)
.
Implementation
@useResult
FButtonIconContentStyle copyWith({FWidgetStateMap<IconThemeData>? iconStyle, EdgeInsetsGeometry? padding}) =>
FButtonIconContentStyle(iconStyle: iconStyle ?? this.iconStyle, padding: padding ?? this.padding);