Last active
December 11, 2021 16:03
-
-
Save tetujin/6acd67a82b7b7f5d91c0a4a994603c80 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
runApp( | |
Center( | |
child: Column( | |
// mainAxisAlignment: MainAxisAlignment.center, | |
children: const [ | |
/// Text 1 | |
Text( | |
'Hello, world!', | |
textDirection: TextDirection.ltr, | |
style: TextStyle( | |
color: Colors.blue, | |
fontSize: 20, | |
fontWeight: FontWeight.bold, | |
), | |
), | |
// Text 2 | |
Text( | |
"hello all", | |
textDirection: TextDirection.ltr, | |
), | |
], | |
), | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment