OptionButton constructor

const OptionButton(
  1. {Key? key,
  2. required double size,
  3. required Color backgroundColor,
  4. required Color foregroundColor,
  5. required IconData icon}
)

Implementation

const OptionButton({
  Key? key,
  required this.size,
  required this.backgroundColor,
  required this.foregroundColor,
  required this.icon,
}) : super(key: key);