text space between letters flutter

To add space between letters in Flutter, you can use the RichText widget along with the TextSpan widget. The TextSpan widget allows you to style individual spans of text within a RichText widget. You can set the letterSpacing property of the TextStyle to add space between letters.

Here's an example of how you can achieve this:

  text: TextSpan(
    text: 'Hello',
    style: TextStyle(
      letterSpacing: 2.0,

In this example, the letterSpacing property is set to 2.0, which adds 2 pixels of space between each letter in the word "Hello". You can adjust the value of letterSpacing to increase or decrease the amount of space between letters.

Note that the RichText widget is used to display styled text with multiple spans, while the TextSpan widget represents a span of styled text within a RichText widget.

I hope this helps! Let me know if you have any further questions.