Text Working with the Text widget

This lesson is available for PRO members or as a single course purchase. Sign-in and choose a plan below.

Example Code

file_type_dartlang main.dart
class MyApp extends StatelessWidget {
 Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: Center(
         child: Row(
           children: <Widget>[
               child: Container(
                 height: 100,
                 child: Text(
                   'Hello World this is too long',
                   overflow: TextOverflow.ellipsis,
                   style: TextStyle(
                     fontSize: 50,
                     fontWeight: FontWeight.bold,


Ask questions via GitHub below OR chat on Slack #questions