copy method

FlexOptions copy({
  1. bool? showOverlay,
  2. bool? showMargins,
  3. bool? showColumns,
  4. bool? showModules,
  5. bool? showBaselines,
  6. FlexOverlayStyle? style,
})

Implementation

FlexOptions copy({
  bool? showOverlay,
  bool? showMargins,
  bool? showColumns,
  bool? showModules,
  bool? showBaselines,
  FlexOverlayStyle? style,
}) =>
    FlexOptions(
      showOverlay: showOverlay ?? this.showOverlay,
      showMargins: showMargins ?? this.showMargins,
      showColumns: showColumns ?? this.showColumns,
      showModules: showModules ?? this.showModules,
      showBaselines: showBaselines ?? this.showBaselines,
      style: style ?? this.style,
    );