copyWith method

Wildness copyWith({
  1. Map<Type, WildnessBase>? components,
  2. Map<Type, WildnessBase>? fundations,
  3. ScrollPhysics? physics,
})

Implementation

Wildness copyWith({
  Map<Type, WildnessBase<dynamic>>? components,
  Map<Type, WildnessBase<dynamic>>? fundations,
  ScrollPhysics? physics,
}) {
  return Wildness(
    components: components ?? this.components,
    fundations: fundations ?? this.fundations,
    physics: physics ?? this.physics,
  );
}