Souliya constructor

const Souliya({
  1. Key? key,
  2. required VoidCallback function,
  3. String buttonName = "start",
  4. String endLabel = "end",
  5. Color startColor = Colors.black,
  6. Color endColor = Colors.pink,
  7. double miniSize = 90,
  8. double largeSize = 350,
  9. Icon icon = const Icon(Icons.heart_broken, color: Colors.white),
})

Implementation

const Souliya(
    {Key? key,
    required this.function,
    this.buttonName = "start",
    this.endLabel = "end",
    this.startColor = Colors.black,
    this.endColor = Colors.pink,
    this.miniSize = 90,
    this.largeSize = 350,
    this.icon = const Icon(
      Icons.heart_broken,
      color: Colors.white,
    )})
    : super(key: key);