stackBelow method

Widget stackBelow({
  1. double scale = 1.0,
  2. required Widget child,
})

A convenience function that layers this ParticleField behind the specified child, sizes it to match, and optionally scales it (this can be useful for providing an "overscan" region).

Implementation

Widget stackBelow({double scale = 1.0, required Widget child}) {
  return Stack(children: [_stackPrep(scale), child]);
}