mold method Null safety

InteractiveInkFeatureFactory mold(
  1. {required Paint rubber}

🪀 mold 🏓 BouncyBalls

Bounce: "Bouncy Ball"

A delightfully bouncy and position-mirroring reaction to user input on a piece of Material.

Design a splashFactory that produces 🏓 BouncyBalls 🪀 molded from rubber with this Paint.

BouncyBall.splashFactory - bounce: Bounce pattern follows 🏓 splashFactory's "Bouncy Ball"


static InteractiveInkFeatureFactory mold({required Paint rubber}) =>
    _BouncyBallFactory(rubber: rubber);