Thumper<E> constructor

const Thumper<E>({
  1. Key? key,
  2. Color onColor = Colors.lightBlueAccent,
  3. Color offColor = Colors.blueGrey,
})

Make a Thumper.

Implementation

const Thumper({
  Key? key,
  this.onColor = Colors.lightBlueAccent,
  this.offColor = Colors.blueGrey,
}) : super(key: key);