Skip to main content

Flutter Show Quote Text

We all know about Quotes in our daily life. In flutter we will create quote text with quote double quote symbol with Unicode. There are 2 symbols in Quote first is staring quote other is ending quote.

Flutter Show Quote Text

1. Creating Text widget and define 2 Unicode \u275D for starting quote symbol and \u275E for ending quote symbol.
Text(
        "\u275D Quotes Text \u275E",
        style: TextStyle(fontSize: 24),
      )
Screenshot:
Flutter Show Quote Text
Source code for main.dart file:
import 'package:flutter/material.dart';

void main() => runApp(App());

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
          body: Center(
              child: Text(
        "\u275D Quotes Text \u275E",
        style: TextStyle(fontSize: 24),
      ))),
    );
  }
}

Comments