Answers for "how to use rich text in single string flutter"

13

rich text flutter

RichText(
    text: TextSpan(
        style: TextStyle(color: Colors.black, fontSize: 36),
        children: <TextSpan>[
          TextSpan(text: 'Woolha ', style: TextStyle(color: Colors.blue)),
          TextSpan(text: 'dot '),
          TextSpan(text: 'com', style: TextStyle(decoration: TextDecoration.underline))
        ],
    ),
    textScaleFactor: 0.5,
  )
Posted by: Guest on August-01-2020

Code answers related to "how to use rich text in single string flutter"

Browse Popular Code Answers by Language