copyWith method

LanguageDialogTheme copyWith({
  1. Widget? title,
  2. Size? dialogOptionSize,
  3. EdgeInsets? optionMargin,
  4. EdgeInsets? optionPadding,
  5. Color? selectedBackgroundColor,
  6. Color? iconColor,
  7. TextStyle? languageTextStyle,
  8. Color? selectedItemTextColor,
  9. DividerThemeData? dividerThemeData,
})

Creates a copy animated dialog theme with the given parameters.

Implementation

LanguageDialogTheme copyWith({
  Widget? title,
  Size? dialogOptionSize,
  EdgeInsets? optionMargin,
  EdgeInsets? optionPadding,
  Color? selectedBackgroundColor,
  Color? iconColor,
  TextStyle? languageTextStyle,
  Color? selectedItemTextColor,
  DividerThemeData? dividerThemeData,
}) =>
    LanguageDialogTheme(
      title: title ?? this.title,
      dialogOptionSize: dialogOptionSize ?? this.dialogOptionSize,
      optionMargin: optionMargin ?? this.optionMargin,
      optionPadding: optionPadding ?? this.optionPadding,
      selectedBackgroundColor:
          selectedBackgroundColor ?? this.selectedBackgroundColor,
      iconColor: iconColor ?? this.iconColor,
      languageTextStyle: languageTextStyle ?? this.languageTextStyle,
      selectedItemTextColor:
          selectedItemTextColor ?? this.selectedItemTextColor,
      dividerThemeData: dividerThemeData ?? this.dividerThemeData,
    );