ToggleFavoriteComponent constructor

const ToggleFavoriteComponent({
  1. double radius = 24.0,
  2. Color? color = Colors.pink,
  3. Color borderColor = Colors.white,
  4. bool initialValue = false,
  5. void onChanged(
    1. bool
    )?,
  6. Key? key,
})

Implementation

const ToggleFavoriteComponent(
    {this.radius = 24.0,
    this.color = Colors.pink,
    this.borderColor = Colors.white,
    this.initialValue = false,
    this.onChanged,
    Key? key})
    : super(key: key);