ActionTwoText constructor

const ActionTwoText({
  1. Key? key,
  2. required String first,
  3. required String second,
  4. TextStyle? firstStyle,
  5. String separator = ": ",
  6. TextStyle? secondStyle,
  7. List<ActionButton>? actions,
  8. bool isShowCopy = true,
  9. bool isShowSend = true,
  10. Color? firstColor,
  11. dynamic sendText(
    1. String? content,
    2. String title
    )?,
  12. Color? secondColor,
})

Creates an ActionTwoText widget.

first and second are the main texts to display.

Implementation

const ActionTwoText({
  super.key,
  required this.first,
  required this.second,
  this.firstStyle,
  this.separator = ": ",
  this.secondStyle,
  this.actions,
  this.isShowCopy = true,
  this.isShowSend = true,
  this.firstColor,
  this.sendText,
  this.secondColor,
});