copyWith method

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

Implementation

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