SelectionWidget constructor

const SelectionWidget({
  1. Key? key,
  2. required int type,
  3. required String title,
  4. required String description,
  5. Color? buttonColor,
  6. Color? buttonTextColor,
  7. String? buttonTextLeft,
  8. String? buttonTextRight,
  9. Color? backgroundColor,
  10. dynamic leftFunction()?,
  11. dynamic rightFunction()?,
})

Implementation

const SelectionWidget({
  super.key,
  required this.type,
  required this.title,
  required this.description,
  this.buttonColor,
  this.buttonTextColor,
  this.buttonTextLeft,
  this.buttonTextRight,
  this.backgroundColor,
  this.leftFunction,
  this.rightFunction,
});