copyWith method

FlexSubThemesData copyWith({
  1. bool? interactionEffects,
  2. bool? blendOnColors,
  3. bool? blendTextTheme,
  4. bool? useTextTheme,
  5. double? defaultRadius,
  6. Size? buttonMinSize,
  7. EdgeInsetsGeometry? buttonPadding,
  8. double? thickBorderWidth,
  9. double? thinBorderWidth,
  10. double? textButtonRadius,
  11. double? elevatedButtonRadius,
  12. double? elevatedButtonElevation,
  13. double? outlinedButtonRadius,
  14. double? toggleButtonsRadius,
  15. double? inputDecorationRadius,
  16. SchemeColor? inputDecoratorSchemeColor,
  17. bool? inputDecoratorIsFilled,
  18. Color? inputDecoratorFillColor,
  19. FlexInputBorderType? inputDecoratorBorderType,
  20. bool? inputDecoratorUnfocusedHasBorder,
  21. double? fabRadius,
  22. bool? fabUseShape,
  23. double? chipRadius,
  24. SchemeColor? chipSchemeColor,
  25. double? cardRadius,
  26. double? cardElevation,
  27. double? popupMenuRadius,
  28. double? popupMenuElevation,
  29. double? popupMenuOpacity,
  30. double? dialogElevation,
  31. double? dialogRadius,
  32. double? timePickerDialogRadius,
  33. double? snackBarElevation,
  34. SchemeColor? tabBarIndicatorSchemeColor,
  35. double? bottomSheetRadius,
  36. double? bottomSheetElevation,
  37. double? bottomSheetModalElevation,
  38. double? bottomNavigationBarElevation,
  39. double? bottomNavigationBarOpacity,
  40. SchemeColor? bottomNavigationBarSchemeColor,
  41. SchemeColor? bottomNavigationBarBackgroundSchemeColor,
  42. BottomNavigationBarLandscapeLayout? bottomNavigationBarLandscapeLayout,
  43. bool? navigationBarIsStyled,
  44. double? navigationBarHeight,
  45. double? navigationBarOpacity,
  46. SchemeColor? navigationBarIconSchemeColor,
  47. SchemeColor? navigationBarTextSchemeColor,
  48. SchemeColor? navigationBarHighlightSchemeColor,
  49. SchemeColor? navigationBarBackgroundSchemeColor,
  50. bool? navigationBarMutedUnselectedIcon,
  51. bool? navigationBarMutedUnselectedText,
  52. double? navigationBarSelectedLabelSize,
  53. double? navigationBarUnselectedLabelSize,
  54. double? navigationBarSelectedIconSize,
  55. double? navigationBarUnselectedIconSize,
  56. NavigationDestinationLabelBehavior? navigationBarLabelBehavior,
})

Copy the object with one or more provided properties changed.

Implementation

FlexSubThemesData copyWith({
  final bool? interactionEffects,
  final bool? blendOnColors,
  final bool? blendTextTheme,
  final bool? useTextTheme,
  final double? defaultRadius,
  final Size? buttonMinSize,
  final EdgeInsetsGeometry? buttonPadding,
  final double? thickBorderWidth,
  final double? thinBorderWidth,
  final double? textButtonRadius,
  final double? elevatedButtonRadius,
  final double? elevatedButtonElevation,
  final double? outlinedButtonRadius,
  final double? toggleButtonsRadius,
  final double? inputDecorationRadius,
  final SchemeColor? inputDecoratorSchemeColor,
  final bool? inputDecoratorIsFilled,
  final Color? inputDecoratorFillColor,
  final FlexInputBorderType? inputDecoratorBorderType,
  final bool? inputDecoratorUnfocusedHasBorder,
  final double? fabRadius,
  final bool? fabUseShape,
  final double? chipRadius,
  final SchemeColor? chipSchemeColor,
  final double? cardRadius,
  final double? cardElevation,
  final double? popupMenuRadius,
  final double? popupMenuElevation,
  final double? popupMenuOpacity,
  final double? dialogElevation,
  final double? dialogRadius,
  final double? timePickerDialogRadius,
  final double? snackBarElevation,
  final SchemeColor? tabBarIndicatorSchemeColor,
  final double? bottomSheetRadius,
  final double? bottomSheetElevation,
  final double? bottomSheetModalElevation,
  final double? bottomNavigationBarElevation,
  final double? bottomNavigationBarOpacity,
  final SchemeColor? bottomNavigationBarSchemeColor,
  final SchemeColor? bottomNavigationBarBackgroundSchemeColor,
  final BottomNavigationBarLandscapeLayout?
      bottomNavigationBarLandscapeLayout,
  final bool? navigationBarIsStyled,
  final double? navigationBarHeight,
  final double? navigationBarOpacity,
  final SchemeColor? navigationBarIconSchemeColor,
  final SchemeColor? navigationBarTextSchemeColor,
  final SchemeColor? navigationBarHighlightSchemeColor,
  final SchemeColor? navigationBarBackgroundSchemeColor,
  final bool? navigationBarMutedUnselectedIcon,
  final bool? navigationBarMutedUnselectedText,
  final double? navigationBarSelectedLabelSize,
  final double? navigationBarUnselectedLabelSize,
  final double? navigationBarSelectedIconSize,
  final double? navigationBarUnselectedIconSize,
  final NavigationDestinationLabelBehavior? navigationBarLabelBehavior,
}) {
  return FlexSubThemesData(
    interactionEffects: interactionEffects ?? this.interactionEffects,
    blendOnColors: blendOnColors ?? this.blendOnColors,
    blendTextTheme: blendTextTheme ?? this.blendTextTheme,
    useTextTheme: useTextTheme ?? this.useTextTheme,
    defaultRadius: defaultRadius ?? this.defaultRadius,
    buttonMinSize: buttonMinSize ?? this.buttonMinSize,
    buttonPadding: buttonPadding ?? this.buttonPadding,
    thickBorderWidth: thickBorderWidth ?? this.thickBorderWidth,
    thinBorderWidth: thinBorderWidth ?? this.thinBorderWidth,
    textButtonRadius: textButtonRadius ?? this.textButtonRadius,
    elevatedButtonRadius: elevatedButtonRadius ?? this.elevatedButtonRadius,
    elevatedButtonElevation:
        elevatedButtonElevation ?? this.elevatedButtonElevation,
    outlinedButtonRadius: outlinedButtonRadius ?? this.outlinedButtonRadius,
    toggleButtonsRadius: toggleButtonsRadius ?? this.toggleButtonsRadius,
    inputDecorationRadius:
        inputDecorationRadius ?? this.inputDecorationRadius,
    inputDecoratorSchemeColor:
        inputDecoratorSchemeColor ?? this.inputDecoratorSchemeColor,
    inputDecoratorIsFilled:
        inputDecoratorIsFilled ?? this.inputDecoratorIsFilled,
    inputDecoratorFillColor:
        inputDecoratorFillColor ?? this.inputDecoratorFillColor,
    inputDecoratorBorderType:
        inputDecoratorBorderType ?? this.inputDecoratorBorderType,
    inputDecoratorUnfocusedHasBorder: inputDecoratorUnfocusedHasBorder ??
        this.inputDecoratorUnfocusedHasBorder,
    fabRadius: fabRadius ?? this.fabRadius,
    fabUseShape: fabUseShape ?? this.fabUseShape,
    chipRadius: chipRadius ?? this.chipRadius,
    chipSchemeColor: chipSchemeColor ?? this.chipSchemeColor,
    cardRadius: cardRadius ?? this.cardRadius,
    cardElevation: cardElevation ?? this.cardElevation,
    dialogRadius: dialogRadius ?? this.dialogRadius,
    dialogElevation: dialogElevation ?? this.dialogElevation,
    popupMenuRadius: popupMenuRadius ?? this.popupMenuRadius,
    popupMenuElevation: popupMenuElevation ?? this.popupMenuElevation,
    popupMenuOpacity: popupMenuOpacity ?? this.popupMenuOpacity,
    timePickerDialogRadius:
        timePickerDialogRadius ?? this.timePickerDialogRadius,
    snackBarElevation: snackBarElevation ?? this.snackBarElevation,
    tabBarIndicatorSchemeColor:
        tabBarIndicatorSchemeColor ?? this.tabBarIndicatorSchemeColor,
    bottomSheetRadius: bottomSheetRadius ?? this.bottomSheetRadius,
    bottomSheetElevation: bottomSheetElevation ?? this.bottomSheetElevation,
    bottomSheetModalElevation:
        bottomSheetModalElevation ?? this.bottomSheetModalElevation,
    bottomNavigationBarElevation:
        bottomNavigationBarElevation ?? this.bottomNavigationBarElevation,
    bottomNavigationBarOpacity:
        bottomNavigationBarOpacity ?? this.bottomNavigationBarOpacity,
    bottomNavigationBarSchemeColor:
        bottomNavigationBarSchemeColor ?? this.bottomNavigationBarSchemeColor,
    bottomNavigationBarBackgroundSchemeColor:
        bottomNavigationBarBackgroundSchemeColor ??
            this.bottomNavigationBarBackgroundSchemeColor,
    bottomNavigationBarLandscapeLayout: bottomNavigationBarLandscapeLayout ??
        this.bottomNavigationBarLandscapeLayout,
    navigationBarIsStyled:
        navigationBarIsStyled ?? this.navigationBarIsStyled,
    navigationBarHeight: navigationBarHeight ?? this.navigationBarHeight,
    navigationBarOpacity: navigationBarOpacity ?? this.navigationBarOpacity,
    navigationBarIconSchemeColor:
        navigationBarIconSchemeColor ?? this.navigationBarIconSchemeColor,
    navigationBarTextSchemeColor:
        navigationBarTextSchemeColor ?? this.navigationBarTextSchemeColor,
    navigationBarHighlightSchemeColor: navigationBarHighlightSchemeColor ??
        this.navigationBarHighlightSchemeColor,
    navigationBarBackgroundSchemeColor: navigationBarBackgroundSchemeColor ??
        this.navigationBarBackgroundSchemeColor,
    navigationBarMutedUnselectedIcon: navigationBarMutedUnselectedIcon ??
        this.navigationBarMutedUnselectedIcon,
    navigationBarMutedUnselectedText: navigationBarMutedUnselectedText ??
        this.navigationBarMutedUnselectedText,
    navigationBarSelectedLabelSize:
        navigationBarSelectedLabelSize ?? this.navigationBarSelectedLabelSize,
    navigationBarUnselectedLabelSize: navigationBarUnselectedLabelSize ??
        this.navigationBarUnselectedLabelSize,
    navigationBarSelectedIconSize:
        navigationBarSelectedIconSize ?? this.navigationBarSelectedIconSize,
    navigationBarUnselectedIconSize: navigationBarUnselectedIconSize ??
        this.navigationBarUnselectedIconSize,
    navigationBarLabelBehavior:
        navigationBarLabelBehavior ?? this.navigationBarLabelBehavior,
  );
}