ExampleQuestionConfig constructor

const ExampleQuestionConfig({
  1. BoxDecoration? containerDecoration,
  2. EdgeInsets containerPadding = const EdgeInsets.symmetric(vertical: 14, horizontal: 16),
  3. TextStyle? textStyle,
  4. IconData iconData = Icons.chat_bubble_outline_rounded,
  5. double iconSize = 20.0,
  6. Color? iconColor,
  7. IconData? trailingIconData = Icons.arrow_forward_rounded,
  8. double trailingIconSize = 20.0,
  9. Color? trailingIconColor,
  10. double spacing = 12.0,
  11. void onTap(
    1. String question
    )?,
})

Implementation

const ExampleQuestionConfig({
  this.containerDecoration,
  this.containerPadding = const EdgeInsets.symmetric(
    vertical: 14,
    horizontal: 16,
  ),
  this.textStyle,
  this.iconData = Icons.chat_bubble_outline_rounded,
  this.iconSize = 20.0,
  this.iconColor,
  this.trailingIconData = Icons.arrow_forward_rounded,
  this.trailingIconSize = 20.0,
  this.trailingIconColor,
  this.spacing = 12.0,
  this.onTap,
});