copyWith method

FdcGridStatusBarStyle copyWith({
  1. Color? backgroundColor,
  2. TextStyle? textStyle,
  3. double? height,
  4. EdgeInsetsGeometry? padding,
})

Creates a copy with selected values replaced.

Implementation

FdcGridStatusBarStyle copyWith({
  Color? backgroundColor,
  TextStyle? textStyle,
  double? height,
  EdgeInsetsGeometry? padding,
}) {
  return FdcGridStatusBarStyle(
    backgroundColor: backgroundColor ?? this.backgroundColor,
    textStyle: textStyle ?? this.textStyle,
    height: height ?? this.height,
    padding: padding ?? this.padding,
  );
}