Answers for "use rich text flutter"

1

flutter rich text

Text.rich(
  TextSpan(
    text: 'Hello', // default text style
    children: [
      TextSpan(text: ' beautiful ', style: TextStyle(fontStyle: FontStyle.italic)),
      TextSpan(text: 'world', style: TextStyle(fontWeight: FontWeight.bold)),
    ],
  ),
)
Posted by: Guest on August-20-2021
3

rich text flutter

RichText(    text: TextSpan(        style: TextStyle(color: Colors.black, fontSize: 18),        children: textSpans,    ),  )
Posted by: Guest on August-01-2020

Code answers related to "Dart"

Browse Popular Code Answers by Language