title: How to set a text background with Flutter?
body: <p>I'm very new to flutter but I'm interested in learning it pretty much from the beginning.</p>
  
  <p>Right now I'm trying such a basic thing as changing the background color of some text, but I'm stuck.</p>
  
  <pre><code>import 'package:flutter/material.dart';
  
  void main() {
  
    final barColor = const Color(0xFFD63031);
  
    var app = MaterialApp(    
      home: Scaffold(    
        backgroundColor: barColor,    
      ),    
    );
  
    Center(    
      child: Text('My Text',      
        textDirection: TextDirection.ltr,    
      ),    
    );
        runApp(app);
  }
  </code></pre>
  
  <p>I do understand why the text doesn't show but I've been working on this for days now and I have tried a lot of different things without succeeding, so any help would be very appreciated.</p>
  
  <p>Thank You</p>