copyWith method

CupertinoVisualStyle copyWith({
  1. bool? appBarHasBorder,
  2. Color? appBarColor,
  3. Color? cardColor,
  4. EdgeInsets? inputPadding,
  5. TextStyle? appBarTextStyle,
  6. CupertinoTabBarData? tabBarData,
  7. List<BoxShadow>? cardShadow,
})

Implementation

CupertinoVisualStyle copyWith({
  bool? appBarHasBorder,
  Color? appBarColor,
  Color? cardColor,
  EdgeInsets? inputPadding,
  TextStyle? appBarTextStyle,
  CupertinoTabBarData? tabBarData,
  List<BoxShadow>? cardShadow,
}) {
  return new CupertinoVisualStyle._of(
    appBarColor ?? this.appBarColor,
    cardShadow ?? this.cardShadow,
    tabBarData ?? this.tabBarData,
    cardColor ?? this.cardColor,
    appBarTextStyle ?? this.appBarTextStyle,
    inputPadding ?? this.inputPadding,
    appBarHasBorder ?? this.appBarHasBorder,
  );
}