copyWith method

  1. @useResult
FAlertStyles copyWith({
  1. FAlertStyle? primary,
  2. FAlertStyle? destructive,
})
inherited

Returns a copy of this FAlertStyles with the given properties replaced.

Implementation

@useResult
FAlertStyles copyWith({FAlertStyle? primary, FAlertStyle? destructive}) =>
    FAlertStyles(primary: primary ?? this.primary, destructive: destructive ?? this.destructive);