LinkTextItem constructor

const LinkTextItem({
  1. required String text,
  2. required dynamic onTap(),
  3. TextStyle? basicStyle,
  4. Color? normalColor,
  5. Color? pressedColor,
  6. bool? showUnderline = true,
  7. WidgetSpan wrapperBuilder(
    1. BuildContext context,
    2. Widget t,
    3. bool tapped
    )?,
})

Implementation

const LinkTextItem({
  required this.text,
  required this.onTap,
  this.basicStyle,
  this.normalColor,
  this.pressedColor,
  this.showUnderline = true,
  this.wrapperBuilder,
})  : normalStyle = null,
      pressedStyle = null;