ProKitTextSpan constructor
const
ProKitTextSpan({
- required String text,
- TextStyle? style,
- 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,
});