ProKitTextSpan constructor

const ProKitTextSpan({
  1. required String text,
  2. TextStyle? style,
  3. VoidCallback? onTap,
})

Creates an instance of ProKitTextSpan.

Parameters:

  • text: The string to display.
  • style: The custom text style.
  • onTap: The callback function for click events.

Implementation

const ProKitTextSpan({
  required this.text,
  this.style,
  this.onTap,
});