Elementary constructor

const Elementary({
  1. required ScrollPhysics physics,
  2. Map<Type, ElementaryBase> components = const {},
  3. Map<Type, ElementaryBase> fundations = const {},
})

Implementation

const Elementary({
  required this.physics,
  this.components = const {},
  this.fundations = const {},
});