copyWith method

  1. @override
VComboboxStyle copyWith({
  1. Color? backgroundColor,
  2. dynamic listTileColor,
  3. dynamic listTileResultIconColor,
  4. dynamic errorTextColor,
  5. dynamic resultTextColor,
  6. dynamic appBarTitleTextColor,
  7. dynamic clearIconColor,
  8. VInputStyle? inputStyle,
  9. VAppBarStyle? appBarStyle,
  10. TextStyle? errorTextStyle,
  11. dynamic resultTextStyle,
})
override

Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.

Implementation

@override
VComboboxStyle copyWith({
  Color? backgroundColor,
  listTileColor,
  listTileResultIconColor,
  errorTextColor,
  resultTextColor,
  appBarTitleTextColor,
  clearIconColor,
  VInputStyle? inputStyle,
  VAppBarStyle? appBarStyle,
  TextStyle? errorTextStyle,
  resultTextStyle,
}) =>
    VComboboxStyle(
      backgroundColor: backgroundColor ?? this.backgroundColor,
      listTileColor: listTileColor ?? this.listTileColor,
      listTileResultIconColor:
          listTileResultIconColor ?? this.listTileResultIconColor,
      errorTextColor: errorTextColor ?? this.errorTextColor,
      resultTextColor: resultTextColor ?? this.resultTextColor,
      appBarTitleTextColor: appBarTitleTextColor ?? this.appBarTitleTextColor,
      clearIconColor: clearIconColor ?? this.clearIconColor,
      inputStyle: inputStyle ?? this.inputStyle,
      appBarStyle: appBarStyle ?? this.appBarStyle,
      errorTextStyle: errorTextStyle ?? this.errorTextStyle,
      resultTextStyle: resultTextStyle ?? this.resultTextStyle,
    );