Last active
October 20, 2020 11:47
-
-
Save jaripekkala/fdee1e52faec60d868dda1550fb26a37 to your computer and use it in GitHub Desktop.
soft hyphens
This file contains hidden or 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'; | |
const TODAY = "AUJOUR\u{00AD}D'HUI"; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: Scaffold( | |
body: Center( | |
child: MyWidget(), | |
), | |
), | |
); | |
} | |
} | |
class MyWidget extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Column( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: [ | |
Container( | |
color: Colors.lightBlue, | |
width: 80, | |
child: Text(TODAY), | |
), | |
Container( | |
color: Colors.blue, | |
width: 120, | |
child: Text(TODAY), | |
), | |
], | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment