copyWith method

LoadingIndicatorThemeData copyWith({
  1. Color? activeIndicatorColor,
  2. Color? containerColor,
})

Creates a copy of this object but with the given fields replaced with the new values.

Implementation

LoadingIndicatorThemeData copyWith({
  Color? activeIndicatorColor,
  Color? containerColor,
}) {
  return LoadingIndicatorThemeData(
    activeIndicatorColor: activeIndicatorColor ?? this.activeIndicatorColor,
    containerColor: containerColor ?? this.containerColor,
  );
}