Answers for "flutter show rich text"

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

Code answers related to "Dart"

Browse Popular Code Answers by Language