GravityField constructor
const
GravityField({})
Implementation
const GravityField({
Key? key,
required this.objects,
this.gravity = 600,
required this.mapX,
required this.mapY,
required this.mapColor,
this.frictionConstant = 0.7,
this.elasticConstant = 0.8
}) : super(key: key);