Created
May 23, 2022 14:51
-
-
Save figengungor/441204f9be10f98cf43fcc27c75726aa to your computer and use it in GitHub Desktop.
\t is not displayed correctly
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(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
debugShowCheckedModeBanner: false, | |
home: TextDemo(), | |
); | |
} | |
} | |
class TextDemo extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
body: | |
Container( | |
width: double.infinity, | |
height: double.infinity, | |
color: Colors.pink, | |
child: Center(child: Text('Figen\tGüngör')), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment