ButtonHelper constructor

const ButtonHelper({
  1. Key? key,
  2. String? title,
  3. IconData? icon,
  4. Color? color,
  5. dynamic onPressed()?,
})

Implementation

const ButtonHelper(
    {Key? key, this.title, this.icon, this.color, this.onPressed})
    : super(key: key);