ExampleQuestionConfig constructor
const
ExampleQuestionConfig({
- BoxDecoration? containerDecoration,
- EdgeInsets containerPadding = const EdgeInsets.symmetric(vertical: 14, horizontal: 16),
- TextStyle? textStyle,
- IconData iconData = Icons.chat_bubble_outline_rounded,
- double iconSize = 20.0,
- Color? iconColor,
- IconData? trailingIconData = Icons.arrow_forward_rounded,
- double trailingIconSize = 20.0,
- Color? trailingIconColor,
- double spacing = 12.0,
- void onTap(
- 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,
});