OptionButton constructor

const OptionButton({
  1. Key? key,
  2. required IconData icon,
  3. required Function onTapCallback,
  4. bool isEnabled = true,
})

Implementation

const OptionButton({
  Key? key,
  required this.icon,
  required this.onTapCallback,
  this.isEnabled = true,
}) : super(key: key);