tapText static method

StatelessWidget tapText(
  1. String text,
  2. VoidCallback onTap, {
  3. TextStyle? style,
})

A simple Widget of Text to 'tap' on.

Implementation

static StatelessWidget tapText(String text, VoidCallback onTap,
    {TextStyle? style}) {
  return _TapText(text, onTap, style: style);
}