material static method

SpringSim material({
  1. double from = 0.0,
  2. double to = 1.0,
})

Material You emphasized spring.

Implementation

static SpringSim material({double from = 0.0, double to = 1.0}) =>
    SpringSim(from: from, to: to, stiffness: 200, damping: 20);