copyWith method

  1. @useResult
FTileStyle copyWith({
  1. FTileStateStyle? pressable,
  2. FTileStateStyle? unpressable,
})
inherited

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

Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.

Implementation

@useResult
FTileStyle copyWith({FTileStateStyle? pressable, FTileStateStyle? unpressable}) =>
    FTileStyle(pressable: pressable ?? this.pressable, unpressable: unpressable ?? this.unpressable);