copyWith method

LiquidBarStyle copyWith({
  1. GlassStyle? glass,
  2. Color? blurTint,
  3. Color? blurSheenTop,
  4. Color? blurSheenBottom,
  5. Color? blurEdge,
  6. Color? opaqueFill,
  7. Color? opaqueEdge,
  8. List<BoxShadow>? shadow,
})

Implementation

LiquidBarStyle copyWith({
  GlassStyle? glass,
  Color? blurTint,
  Color? blurSheenTop,
  Color? blurSheenBottom,
  Color? blurEdge,
  Color? opaqueFill,
  Color? opaqueEdge,
  List<BoxShadow>? shadow,
}) =>
    LiquidBarStyle(
      glass: glass ?? this.glass,
      blurTint: blurTint ?? this.blurTint,
      blurSheenTop: blurSheenTop ?? this.blurSheenTop,
      blurSheenBottom: blurSheenBottom ?? this.blurSheenBottom,
      blurEdge: blurEdge ?? this.blurEdge,
      opaqueFill: opaqueFill ?? this.opaqueFill,
      opaqueEdge: opaqueEdge ?? this.opaqueEdge,
      shadow: shadow ?? this.shadow,
    );